From f94c99aac7945b61c9670f5c16654ee7b3a0ecda Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Tue, 13 May 2014 13:04:44 +0200 Subject: Bug #186 - RIP passive-interface "default" missing from config template --- templates/protocols/rip/passive-interface/node.def | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/protocols/rip/passive-interface/node.def b/templates/protocols/rip/passive-interface/node.def index af95f815..c642bc1f 100644 --- a/templates/protocols/rip/passive-interface/node.def +++ b/templates/protocols/rip/passive-interface/node.def @@ -1,6 +1,8 @@ multi: type: txt -help: Suppress routing updates on an interface +comp_help:default Suppress routing updates on all interfaces by default\n\ +ethx Suppress routing updates on ethx\n\ +lo Suppress routing updates on lo\n syntax:expression: exec " \ if [ -z \"`ip addr | grep $VAR(@) `\" ] && [ x$VAR(@) != xdefault ]; then \ echo ethernet interface $VAR(@) doesn\\'t exist on this system ; \ @@ -18,4 +20,5 @@ delete: if [ x$VAR(x) == xdefault ] else vtysh -c "configure terminal" -c "router rip" \ -c "no passive-interface $VAR(@)" fi -allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all +allowed: echo "default" && ${vyatta_sbindir}/vyatta-interfaces.pl --show all + -- cgit v1.2.3