summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-07-04 12:26:18 -0500
committerGitHub <noreply@github.com>2020-07-04 12:26:18 -0500
commitb5ac2b136c57d0cb2be7648df5b6fcf3204bca88 (patch)
tree225d87309a72cd14dd741adffda8391340e75280 /src/conf_mode
parent65cbd7481d886c450bcc6be763aff3d4b070d719 (diff)
parent0e34407c66105e6c499e5571bc6f4b7d2273747a (diff)
downloadvyos-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/conf_mode')
-rwxr-xr-xsrc/conf_mode/service_ids_fastnetmon.py2
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):