summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-vxlan.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-27 19:29:17 +0100
committerGitHub <noreply@github.com>2020-02-27 19:29:17 +0100
commit7d3176beb07ab1faa156c2da76384186376cf25d (patch)
tree6c432dfb745376fda4b30930e79f7a5f95e86935 /src/conf_mode/interfaces-vxlan.py
parent93d33b06b59a514485467ced5a48dc997a235c6c (diff)
parent10461c87c6f58c7f5b63d4053b8f00d65213bda3 (diff)
downloadvyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.tar.gz
vyos-1x-7d3176beb07ab1faa156c2da76384186376cf25d.zip
Merge pull request #227 from thomas-mangin/T2057
ifconfig: T2057: generalised Interface configuration
Diffstat (limited to 'src/conf_mode/interfaces-vxlan.py')
-rwxr-xr-xsrc/conf_mode/interfaces-vxlan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py
index efdc21f89..cfddd0bf8 100755
--- a/src/conf_mode/interfaces-vxlan.py
+++ b/src/conf_mode/interfaces-vxlan.py
@@ -180,7 +180,7 @@ def apply(vxlan):
conf['port'] = vxlan['remote_port']
# Finally create the new interface
- v = VXLANIf(vxlan['intf'], config=conf)
+ v = VXLANIf(vxlan['intf'], **conf)
# update interface description used e.g. by SNMP
v.set_alias(vxlan['description'])
# Maximum Transfer Unit (MTU)