summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pseudo-ethernet.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-02-20 15:08:23 +0000
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-02-24 16:40:24 +0000
commit10461c87c6f58c7f5b63d4053b8f00d65213bda3 (patch)
tree26ff8ad3512fcff2c3f75c0561e6513ce61454ab /src/conf_mode/interfaces-pseudo-ethernet.py
parent373fcb829e95b52c6edd5fafd087012988d66c07 (diff)
downloadvyos-1x-10461c87c6f58c7f5b63d4053b8f00d65213bda3.tar.gz
vyos-1x-10461c87c6f58c7f5b63d4053b8f00d65213bda3.zip
ifconfig: T2057: generalised Interface configuration
Provides a way to pass options to interface consistent between subclasses of Interface
Diffstat (limited to 'src/conf_mode/interfaces-pseudo-ethernet.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pseudo-ethernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-pseudo-ethernet.py b/src/conf_mode/interfaces-pseudo-ethernet.py
index 864e28936..13c809e0d 100755
--- a/src/conf_mode/interfaces-pseudo-ethernet.py
+++ b/src/conf_mode/interfaces-pseudo-ethernet.py
@@ -232,7 +232,7 @@ def apply(peth):
# It is safe to "re-create" the interface always, there is a sanity check
# that the interface will only be create if its non existent
- p = MACVLANIf(peth['intf'], config=conf)
+ p = MACVLANIf(peth['intf'], **conf)
else:
p = MACVLANIf(peth['intf'])