summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/passive-interface/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/passive-interface/node.def')
-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" \