summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/vxlan/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/interfaces/vxlan/node.def b/templates/interfaces/vxlan/node.def
index e8b625e1..70deef60 100644
--- a/templates/interfaces/vxlan/node.def
+++ b/templates/interfaces/vxlan/node.def
@@ -29,6 +29,10 @@ create:
if [ ! $VAR(./group/) == "" ]; then
VXLAN_GROUP="group $VAR(./group/@)"
+ if [ -z "$VXLAN_DEV" ]; then
+ echo "For multicast VXLAN, link (network interface) must be configured"
+ exit 1
+ fi
fi
if [ ! $VAR(./remote/) == "" ]; then