From af6887e871c784e86656261fdf1034d28e14e9b2 Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Tue, 31 Aug 2010 20:16:00 -0700 Subject: 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 --- templates/policy/prefix-list6/node.tag/rule/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3