summaryrefslogtreecommitdiff
path: root/interface-templates/redirect/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/redirect/node.def')
-rw-r--r--interface-templates/redirect/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-templates/redirect/node.def b/interface-templates/redirect/node.def
index 9dfbf09..c836662 100644
--- a/interface-templates/redirect/node.def
+++ b/interface-templates/redirect/node.def
@@ -6,13 +6,13 @@ syntax:expression: $VAR(@) != $VAR(../@) ;\
"interface $VAR(../@): redirect to same interface not allowed"
val_help: Interface for packet redirection
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all"
-
commit:expression: $VAR(../mirror) == "";\
"interface $VAR(../@) : can not redirect and mirror on $IFNAME"
commit:expression: $VAR(../traffic-policy/in) == ""; \
"interface $VAR(../@) : can not use ingress policy and redirect on $IFNAME"
+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