summaryrefslogtreecommitdiff
path: root/src/conf_mode/snmp.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-25 08:58:56 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-25 10:01:42 +0000
commit1902f252c4c270cf7981fecd486e293ec2182fd9 (patch)
treea764448c31a4b0a15ecb488331bca6c8c30d4b5e /src/conf_mode/snmp.py
parent4b3eca1e08603ed8c97d7b352e567e2e8570eac4 (diff)
downloadvyos-1x-1902f252c4c270cf7981fecd486e293ec2182fd9.tar.gz
vyos-1x-1902f252c4c270cf7981fecd486e293ec2182fd9.zip
snmp: T5855: migrate "set service lldp snmp enable" to "set service lldp snmp"
(cherry picked from commit a9201e77110ce0695e2ba879304aef41b7ac9a0c)
Diffstat (limited to 'src/conf_mode/snmp.py')
-rwxr-xr-xsrc/conf_mode/snmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index 38b5d52f9..f65d0d6bc 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -54,7 +54,7 @@ def get_config(config=None):
if not conf.exists(base):
snmp.update({'deleted' : ''})
- if conf.exists(['service', 'lldp', 'snmp', 'enable']):
+ if conf.exists(['service', 'lldp', 'snmp']):
snmp.update({'lldp_snmp' : ''})
if 'deleted' in snmp: