summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/policy/prefix-list6/node.tag/rule/node.def2
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;