diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-08-31 20:16:00 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-08-31 20:16:00 -0700 |
commit | af6887e871c784e86656261fdf1034d28e14e9b2 (patch) | |
tree | cf8beb8146db7e4708aa94744c71ec9c3c54b8a3 /templates | |
parent | 168d22dbfd0680ef7375e443f67a0ef63495a517 (diff) | |
download | vyatta-cfg-quagga-af6887e871c784e86656261fdf1034d28e14e9b2.tar.gz vyatta-cfg-quagga-af6887e871c784e86656261fdf1034d28e14e9b2.zip |
Bugfix 5545: Update quagga when any prefix-list6 rule element is changed
Previously, quagga was updated only when a rule was created. This meant that
changes would not be reflected in quagga until the system was rebooted, or
until the rule was deleted and re-created.
Patch courtesy of: Jon Andersson <Jon.Andersson@Thales.no>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/policy/prefix-list6/node.tag/rule/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/policy/prefix-list6/node.tag/rule/node.def b/templates/policy/prefix-list6/node.tag/rule/node.def index 5e466f47..d3540e09 100644 --- a/templates/policy/prefix-list6/node.tag/rule/node.def +++ b/templates/policy/prefix-list6/node.tag/rule/node.def @@ -35,7 +35,7 @@ end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ; cond="$cond le $VAR(./le/@) "; fi; - if [ ${COMMIT_ACTION} = 'SET' ]; then + if [ ${COMMIT_ACTION} = 'SET' -o ${COMMIT_ACTION} = 'ACTIVE' ]; then vtysh -c "configure terminal" \ -c "ipv6 prefix-list $VAR(../@) seq $VAR(@) $VAR(./action/@) $VAR(./prefix/@) $cond " ; fi; |