diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-07-04 16:46:39 +0000 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2020-07-04 16:46:39 +0000 |
commit | 0e34407c66105e6c499e5571bc6f4b7d2273747a (patch) | |
tree | 225d87309a72cd14dd741adffda8391340e75280 /src/conf_mode/service_ids_fastnetmon.py | |
parent | 65cbd7481d886c450bcc6be763aff3d4b070d719 (diff) | |
download | vyos-1x-0e34407c66105e6c499e5571bc6f4b7d2273747a.tar.gz vyos-1x-0e34407c66105e6c499e5571bc6f4b7d2273747a.zip |
ids: T2659: Add get_first_key to get_config_dict
Diffstat (limited to 'src/conf_mode/service_ids_fastnetmon.py')
-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): |