summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-templates/redirect/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-templates/redirect/node.def b/interface-templates/redirect/node.def
index 6b39f67..daff346 100644
--- a/interface-templates/redirect/node.def
+++ b/interface-templates/redirect/node.def
@@ -12,7 +12,7 @@ commit:expression: $VAR(../mirror) == "";\
commit:expression: $VAR(../traffic-policy/in) == ""; \
"interface $IFNAME : can not use ingress policy and redirect"
-commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $IFNAME --check=all"
+commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all"
update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $IFNAME