summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-04 20:04:11 +0200
committerGitHub <noreply@github.com>2020-04-04 20:04:11 +0200
commit61ab4673b786abd29bd861a91975189d4614d3b6 (patch)
tree6377522d02db5de8905e9b7dc8ad634ccd8e641e /src/op_mode
parent606a66a2770eb3853c22d6b601f6d386293c66bb (diff)
parentae72ab6de76dbc86cb881da7eafa64413819a9bc (diff)
downloadvyos-1x-61ab4673b786abd29bd861a91975189d4614d3b6.tar.gz
vyos-1x-61ab4673b786abd29bd861a91975189d4614d3b6.zip
Merge pull request #302 from thomas-mangin/T2190
ifconfig: T2190: option to prevent Interface creation
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/wireguard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/wireguard.py b/src/op_mode/wireguard.py
index 512c80dda..c684f8a47 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, debug=False)
+ intf = WireGuardIf(args.showinterface, create=False, debug=False)
intf.op_show_interface()
if args.delkdir:
if args.location: