From 36349ea1aa4baa8aab7667de70915ef43527eaf4 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Fri, 10 Feb 2012 13:40:12 -0800 Subject: Bugfix 7784: Need quotes in syntax:expression when using more than just VAR refs --- 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 50788ca..6b39f67 100644 --- a/interface-templates/redirect/node.def +++ b/interface-templates/redirect/node.def @@ -2,7 +2,7 @@ type: txt help: Incoming packet redirection destination allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=input -syntax:expression: $VAR(@) != $IFNAME ;\ +syntax:expression: $VAR(@) != "$IFNAME" ;\ "interface $IFNAME: redirect to same interface not allowed" val_help: Interface for packet redirection -- cgit v1.2.3