From 3049c72f79b9d05bb499848db6983cd1573e181c Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 17 Feb 2012 16:43:32 -0800 Subject: Fix incorrect commit check in redirect node.def --- interface-templates/redirect/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3