summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-05-20 17:19:40 +0200
committerChristian Poessinger <christian@poessinger.com>2019-05-20 17:19:40 +0200
commitd2e54750200a4505b3428513e2c03c9522876550 (patch)
treed26fd428735ddc52a71c7c84ba1a90096a4fa9df /templates
parent6a91f381b534f1513c5a6b6dd5392819791371ab (diff)
downloadvyatta-cfg-system-d2e54750200a4505b3428513e2c03c9522876550.tar.gz
vyatta-cfg-system-d2e54750200a4505b3428513e2c03c9522876550.zip
[vxlan] T1384: bugfix on empty remote-port
Do not emit warning messages when remote-port is unconfigured. Fallback to default Linux Port.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/vxlan/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/vxlan/node.def b/templates/interfaces/vxlan/node.def
index 70deef60..bb9d1b89 100644
--- a/templates/interfaces/vxlan/node.def
+++ b/templates/interfaces/vxlan/node.def
@@ -21,7 +21,7 @@ create:
VXLAN_GROUP=""
VXLAN_VNI="id $VAR(./vni/@)"
VXLAN_TTL="ttl 16"
- VXLAN_PORT=""
+ VXLAN_PORT="dstport 0"
if [ ! $VAR(./link/) == "" ]; then
VXLAN_DEV="dev $VAR(./link/@)"