From dd194aaa4a2ff04865c54c61282098d56d572ed9 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Sat, 18 Apr 2020 17:35:31 +0100 Subject: interfaces: T2320: correctly honour create and debug options --- python/vyos/ifconfig/wireguard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/vyos/ifconfig/wireguard.py') 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 -- cgit v1.2.3