Skip to content

Commit 0e88cdf

Browse files
committed
fix(ip_activity_classifier): use bidirectional flows
IP activity classifier has not been migrated to the new data model of the ip/activity attribute introduced in 51c59a7.
1 parent 91b4bf9 commit 0e88cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dp3_server/modules/ip_activity_classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(
1717
def processing_function(
1818
self, eid: str, dp: DataPointTimeseriesBase
1919
) -> List[DataPointTask]:
20-
avg_bytes_per_time_step = sum(dp.v.bytes) / len(dp.v.bytes)
20+
avg_bytes_per_time_step = sum(dp.v.out_bytes) / len(dp.v.out_bytes)
2121

2222
act_class = self.ip_act(avg_bytes_per_time_step)
2323

0 commit comments

Comments
 (0)