summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/wireguard.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-18 17:35:31 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-18 17:35:31 +0100
commitdd194aaa4a2ff04865c54c61282098d56d572ed9 (patch)
tree904cffc51618dbb7cb30b0d6293d29005ce1e00f /python/vyos/ifconfig/wireguard.py
parentd76dbb558a4fcb73c2377b5524451bb408419802 (diff)
downloadvyos-1x-dd194aaa4a2ff04865c54c61282098d56d572ed9.tar.gz
vyos-1x-dd194aaa4a2ff04865c54c61282098d56d572ed9.zip
interfaces: T2320: correctly honour create and debug options
Diffstat (limited to 'python/vyos/ifconfig/wireguard.py')
-rw-r--r--python/vyos/ifconfig/wireguard.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/wireguard.py b/python/vyos/ifconfig/wireguard.py
index ff945c9d0..fdf5d9347 100644
--- a/python/vyos/ifconfig/wireguard.py
+++ b/python/vyos/ifconfig/wireguard.py
@@ -165,8 +165,9 @@ class WireGuardIf(Interface):
'bridgeable': True,
}
}
- options = ['port', 'private-key', 'pubkey', 'psk',
- 'allowed-ips', 'fwmark', 'endpoint', 'keepalive']
+ options = Interface.options + \
+ ['port', 'private-key', 'pubkey', 'psk',
+ 'allowed-ips', 'fwmark', 'endpoint', 'keepalive']
"""
Wireguard interface class, contains a comnfig dictionary since