diff options
Diffstat (limited to 'python/vyos/ifconfig/macvlan.py')
-rw-r--r-- | python/vyos/ifconfig/macvlan.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/macvlan.py b/python/vyos/ifconfig/macvlan.py index a1dca5e41..4e4b563a1 100644 --- a/python/vyos/ifconfig/macvlan.py +++ b/python/vyos/ifconfig/macvlan.py @@ -15,11 +15,12 @@ from vyos.ifconfig.interface import Interface -from vyos.ifconfig.vlan import VLANIf +from vyos.ifconfig.vlan import VLAN @Interface.register -class MACVLANIf(VLANIf): +@VLAN.enable +class MACVLANIf(Interface): """ Abstraction of a Linux MACvlan interface """ |