summaryrefslogtreecommitdiff
path: root/templates/protocols/rip
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 17:12:23 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-07-09 16:50:06 -0700
commit85f38872d097ac5162dea2e8e75abbeceb76534b (patch)
treefeea3cc2e0ae65a57294e0c63484635267c86634 /templates/protocols/rip
parent69db53b3ad7495759ef94066f94c6dff8b628a95 (diff)
downloadvyatta-cfg-quagga-85f38872d097ac5162dea2e8e75abbeceb76534b.tar.gz
vyatta-cfg-quagga-85f38872d097ac5162dea2e8e75abbeceb76534b.zip
Replace update tag on multi-nodes
Multiple value nodes are never updated, only created or deleted. (cherry picked from commit 909452cdb631577aed7b9a7aed6613c2756f4e33)
Diffstat (limited to 'templates/protocols/rip')
-rw-r--r--templates/protocols/rip/passive-interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/rip/passive-interface/node.def b/templates/protocols/rip/passive-interface/node.def
index 09039331..b3674afe 100644
--- a/templates/protocols/rip/passive-interface/node.def
+++ b/templates/protocols/rip/passive-interface/node.def
@@ -6,7 +6,7 @@ syntax:expression: exec " \
echo ethernet interface $VAR(@) doesn\\'t exist on this system ; \
exit 1 ; \
fi ; "
-update: if [ x$VAR(x) == xdefault ]
+create: if [ x$VAR(x) == xdefault ]
then vyatta-vtysh -c "configure terminal" -c "router rip" \
-c "passive-interface default"
else vyatta-vtysh -c "configure terminal" -c "router rip" \