diff options
author | John Estabrook <jestabro@vyos.io> | 2020-07-04 12:26:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 12:26:18 -0500 |
commit | b5ac2b136c57d0cb2be7648df5b6fcf3204bca88 (patch) | |
tree | 225d87309a72cd14dd741adffda8391340e75280 /src | |
parent | 65cbd7481d886c450bcc6be763aff3d4b070d719 (diff) | |
parent | 0e34407c66105e6c499e5571bc6f4b7d2273747a (diff) | |
download | vyos-1x-b5ac2b136c57d0cb2be7648df5b6fcf3204bca88.tar.gz vyos-1x-b5ac2b136c57d0cb2be7648df5b6fcf3204bca88.zip |
Merge pull request #488 from DmitriyEshenko/fix-fnm-07042020
ids: T2659: Add get_first_key to get_config_dict
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/service_ids_fastnetmon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_ids_fastnetmon.py b/src/conf_mode/service_ids_fastnetmon.py index 71bef08ae..d46f9578e 100755 --- a/src/conf_mode/service_ids_fastnetmon.py +++ b/src/conf_mode/service_ids_fastnetmon.py @@ -31,7 +31,7 @@ networks_list = r'/etc/networks_list' def get_config(): conf = Config() base = ['service', 'ids', 'ddos-protection'] - fastnetmon = conf.get_config_dict(base, key_mangling=('-', '_')) + fastnetmon = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) return fastnetmon def verify(fastnetmon): |