From 10461c87c6f58c7f5b63d4053b8f00d65213bda3 Mon Sep 17 00:00:00 2001 From: Thomas Mangin Date: Thu, 20 Feb 2020 15:08:23 +0000 Subject: ifconfig: T2057: generalised Interface configuration Provides a way to pass options to interface consistent between subclasses of Interface --- src/conf_mode/interfaces-pseudo-ethernet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/interfaces-pseudo-ethernet.py') 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']) -- cgit v1.2.3