summaryrefslogtreecommitdiff
path: root/interface-templates/redirect
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 17:01:11 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 17:07:58 -0700
commit56c205f7070a541555c81bb8546d0a7ba4359e60 (patch)
tree70bc6af378ba01b1b59da398038c7b8b440b9f47 /interface-templates/redirect
parent4a97c98710323126bc0d36bbe4620162fb979a97 (diff)
downloadvyatta-cfg-qos-56c205f7070a541555c81bb8546d0a7ba4359e60.tar.gz
vyatta-cfg-qos-56c205f7070a541555c81bb8546d0a7ba4359e60.zip
Fix setting of actions on boot
The redirect and mirror actions were incorrectly using an end: node, so they would fail on boot when combined with ifb.
Diffstat (limited to 'interface-templates/redirect')
-rw-r--r--interface-templates/redirect/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-templates/redirect/node.def b/interface-templates/redirect/node.def
index ac2ad7e..9dfbf09 100644
--- a/interface-templates/redirect/node.def
+++ b/interface-templates/redirect/node.def
@@ -14,4 +14,5 @@ commit:expression: $VAR(../mirror) == "";\
commit:expression: $VAR(../traffic-policy/in) == ""; \
"interface $VAR(../@) : can not use ingress policy and redirect on $IFNAME"
-end: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
+update: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
+delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-action $IFNAME