diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-13 20:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 20:42:57 +0200 |
commit | 439a7bbe4df5492808cd11fc34237b9d4acc093b (patch) | |
tree | 86b11df631d8905883adfa36cc271b212e2d1e74 /src/conf_mode | |
parent | a23b2d038aaa1275d2991023cfd7ed08f64efbc3 (diff) | |
parent | eeefd8a7ac48455231c1361af53976477c540f7d (diff) | |
download | vyos-1x-439a7bbe4df5492808cd11fc34237b9d4acc093b.tar.gz vyos-1x-439a7bbe4df5492808cd11fc34237b9d4acc093b.zip |
Merge pull request #409 from DmitriyEshenko/fix-flow-acct01
flow-accounting: T2456: Replace old function
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/flow_accounting_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py index 11df81b1d..d691e6abd 100755 --- a/src/conf_mode/flow_accounting_conf.py +++ b/src/conf_mode/flow_accounting_conf.py @@ -281,7 +281,7 @@ def verify(config): # check if configured netflow source-ip exist in the system if config['netflow']['source-ip']: source_ip_presented = None - for iface in Interface.listing(): + for iface in Section.interfaces(): for address in Interface(iface).get_addr(): # check an IP regex_filter = re.compile('^(?!(127)|(::1)|(fe80))(?P<ipaddr>[a-f\d\.:]+)/\d+$') |