summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-03-30 18:05:40 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-03-31 16:59:55 +0100
commit10f31524db1623bf115f88c3a432b5c37522d2e4 (patch)
tree92c09e4947c2ee15b93cc6e3034e4626f7a63ac2 /src
parent05e79a4bb2137ee3ea563ced7f64b033c41eb438 (diff)
downloadvyos-1x-10f31524db1623bf115f88c3a432b5c37522d2e4.tar.gz
vyos-1x-10f31524db1623bf115f88c3a432b5c37522d2e4.zip
ifconfig: T2057: centralise wireguard code
Some left over wireguard code was left in the interface.py file. The code was moved into the wireguard.py file and the now empty interface.py file removed as no longer holdin any code.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/completion/list_interfaces.py1
-rwxr-xr-xsrc/op_mode/wireguard.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/completion/list_interfaces.py b/src/completion/list_interfaces.py
index 77de4e327..98b32797a 100755
--- a/src/completion/list_interfaces.py
+++ b/src/completion/list_interfaces.py
@@ -2,7 +2,6 @@
import sys
import argparse
-import vyos.interfaces
from vyos.ifconfig import Interface
parser = argparse.ArgumentParser()
diff --git a/src/op_mode/wireguard.py b/src/op_mode/wireguard.py
index 38c061cf4..512c80dda 100755
--- a/src/op_mode/wireguard.py
+++ b/src/op_mode/wireguard.py
@@ -150,7 +150,7 @@ if __name__ == '__main__':
if args.listkdir:
list_key_dirs()
if args.showinterface:
- intf = WireGuardIf(args.showinterface)
+ intf = WireGuardIf(args.showinterface, debug=False)
intf.op_show_interface()
if args.delkdir:
if args.location: