summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-17 10:55:18 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-17 10:55:18 +0900
commitcf596d3368a665d59ec60fe0da8ab0c3c0c97c97 (patch)
tree5640701b2d786369d6dacd7c543b60d15bfcf6db /src
parented6b92064e26a0c875e8825622a0e34f8475268f (diff)
downloadvyos-1x-cf596d3368a665d59ec60fe0da8ab0c3c0c97c97.tar.gz
vyos-1x-cf596d3368a665d59ec60fe0da8ab0c3c0c97c97.zip
Fix import path for ConfigError
Diffstat (limited to 'src')
-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')