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/macvlan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/vyos/ifconfig/macvlan.py') diff --git a/python/vyos/ifconfig/macvlan.py b/python/vyos/ifconfig/macvlan.py index 55b1a3e91..37228e57f 100644 --- a/python/vyos/ifconfig/macvlan.py +++ b/python/vyos/ifconfig/macvlan.py @@ -35,7 +35,8 @@ class MACVLANIf(Interface): 'prefixes': ['peth', ], }, } - options = Interface.options + ['source_interface', 'mode'] + options = Interface.options + \ + ['source_interface', 'mode'] def _create(self): cmd = 'ip link add {ifname} link {source_interface} type macvlan mode {mode}'.format( -- cgit v1.2.3