diff options
Diffstat (limited to 'templates/interfaces/vxlan/node.def')
-rw-r--r-- | templates/interfaces/vxlan/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/vxlan/node.def b/templates/interfaces/vxlan/node.def index f7c9b7c7..780ef8d8 100644 --- a/templates/interfaces/vxlan/node.def +++ b/templates/interfaces/vxlan/node.def @@ -24,8 +24,8 @@ create: VXLAN_GROUP="group $VAR(./group/@)" VXLAN_TTL="ttl 16" - if [ ! $VAR(./dev/) == "" ]; then - VXLAN_DEV="dev $VAR(./dev/@)" + if [ ! $VAR(./link/) == "" ]; then + VXLAN_DEV="dev $VAR(./link/@)" fi ip link add name $VAR(@) type vxlan \ |