summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-09 10:45:06 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-09 10:46:06 +0100
commitcd3c1f343fc96b75c12a7774a6f7bb99f1d2aedc (patch)
tree8622eaad92cae8cca0c3124e5316e84700d9ea34 /src
parentfd6d67001c762919ad3769865285a5a8c76630a1 (diff)
downloadvyos-1x-cd3c1f343fc96b75c12a7774a6f7bb99f1d2aedc.tar.gz
vyos-1x-cd3c1f343fc96b75c12a7774a6f7bb99f1d2aedc.zip
snmp: T1931: delete obsolete reading of oldEngineID
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/snmp.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index cd63d6d62..dc17939d3 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -767,10 +767,6 @@ def apply(snmp):
with open(config_file_user, 'r') as f:
engineID = ''
for line in f:
- if line.startswith('oldEngineID'):
- string = line.split(' ')
- engineID = string[1]
-
if line.startswith('usmUser'):
string = line.split(' ')
cfg = {