summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf_mode/lldp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf_mode/lldp.py b/src/conf_mode/lldp.py
index ba7e9cb13..27749c81c 100644
--- a/src/conf_mode/lldp.py
+++ b/src/conf_mode/lldp.py
@@ -21,12 +21,11 @@ import re
import sys
from vyos.config import Config
-from vyos.util import ConfigError
-
+from vyos import ConfigError
def get_options(config):
- options ={}
+ options = {}
config.set_level('service lldp')
options['listen_vlan'] = config.exists('listen-vlan')