From 85f38872d097ac5162dea2e8e75abbeceb76534b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 2 Jun 2009 17:12:23 -0700 Subject: Replace update tag on multi-nodes Multiple value nodes are never updated, only created or deleted. (cherry picked from commit 909452cdb631577aed7b9a7aed6613c2756f4e33) --- templates/protocols/rip/passive-interface/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/protocols/rip') 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" \ -- cgit v1.2.3