diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-12 15:53:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-12 15:53:21 +0000 |
| commit | af8e4b83017e0c1b28cd1e447f760fdc32e4f2ff (patch) | |
| tree | 82aa586e353a65e47ca64bc683cce19cb5345ce5 /src/conf_mode | |
| parent | 2e2cdfb15f91bc71fefb718a9bdb64b66a0b0dd0 (diff) | |
| parent | 9e2d972d5d4940efa28be38a1b55b3d6e4b4be7a (diff) | |
| download | vyos-1x-af8e4b83017e0c1b28cd1e447f760fdc32e4f2ff.tar.gz vyos-1x-af8e4b83017e0c1b28cd1e447f760fdc32e4f2ff.zip | |
Merge pull request #5035 from hedrok/T8186-fix-netflow-v5
T8186: netflow: disable IPv6 for netflow protocol version 5
Diffstat (limited to 'src/conf_mode')
| -rwxr-xr-x | src/conf_mode/system_flow-accounting.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf_mode/system_flow-accounting.py b/src/conf_mode/system_flow-accounting.py index b23ee77fd..3318ad465 100755 --- a/src/conf_mode/system_flow-accounting.py +++ b/src/conf_mode/system_flow-accounting.py @@ -183,11 +183,12 @@ def apply(flow_config): if 'enable_egress' in flow_config: egress_interfaces = ingress_interfaces + enable_ipv6 = flow_config['netflow']['version'] != '5' if need_reload: - ipt_netflow.start(ingress_interfaces, egress_interfaces) + ipt_netflow.start(ingress_interfaces, egress_interfaces, ipv6=enable_ipv6) else: ipt_netflow.set_watched_iptables_interfaces( - ingress_interfaces, egress_interfaces + ingress_interfaces, egress_interfaces, ipv6=enable_ipv6 ) |
