summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack
diff options
context:
space:
mode:
Diffstat (limited to 'templates-cfg/system/conntrack')
-rw-r--r--templates-cfg/system/conntrack/ignore/rule/node.tag/protocol/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-cfg/system/conntrack/ignore/rule/node.tag/protocol/node.def b/templates-cfg/system/conntrack/ignore/rule/node.tag/protocol/node.def
index 59f23a3..93ae51a 100644
--- a/templates-cfg/system/conntrack/ignore/rule/node.tag/protocol/node.def
+++ b/templates-cfg/system/conntrack/ignore/rule/node.tag/protocol/node.def
@@ -7,7 +7,7 @@ val_help: tcp_udp ; Both TCP and UDP
val_help: all ; All IP protocols
val_help: !<protocol> ; All IP protocols except for the specified name or number (negation)
-syntax:expression: exec "if [ -n \"`/opt/vyatta/sbin/vyatta-validate-type.pl protocol_negate '$VAR(@)'`\" ] \
+syntax:expression: exec "if [ -n \"`/opt/vyatta/sbin/vyatta-validate-type protocol_negate '$VAR(@)'`\" ] \
&& [ \"$VAR(@)\" != 'tcp_udp' ]; then \
echo invalid protocol \"$VAR(@)\" ; \
exit 1 ; \