Skip to content

Commit 1c8bf7f

Browse files
committed
Traffic out - fix typo
1 parent ffa1ddb commit 1c8bf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netflowbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_values_traffic_out(output_path_prefix, from_time):
156156

157157
values = []
158158
for interface_index, traffic_bytes in c.fetchall():
159-
output_path = f'{output_path_prefix}.traffic_in.{interface_index}.if{interface_index}'
159+
output_path = f'{output_path_prefix}.traffic_out.{interface_index}.if{interface_index}'
160160
values.append({
161161
'p': output_path,
162162
'v': traffic_bytes / 60., # Bps

0 commit comments

Comments
 (0)