From 0e34407c66105e6c499e5571bc6f4b7d2273747a Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Sat, 4 Jul 2020 16:46:39 +0000 Subject: ids: T2659: Add get_first_key to get_config_dict --- src/conf_mode/service_ids_fastnetmon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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): -- cgit v1.2.3