summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/passive-interface/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/passive-interface/node.def')
-rw-r--r--templates/protocols/ripng/passive-interface/node.def5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/protocols/ripng/passive-interface/node.def b/templates/protocols/ripng/passive-interface/node.def
index 9654a1d3..4fe2e16b 100644
--- a/templates/protocols/ripng/passive-interface/node.def
+++ b/templates/protocols/ripng/passive-interface/node.def
@@ -1,7 +1,7 @@
multi:
type: txt
help: Set to suppress routing updates on an interface
-
+allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
syntax:expression: exec " \
if [ -z \"`ip addr | grep $VAR(@) `\" ] && [ x$VAR(@) != xdefault ]; then \
echo ethernet interface $VAR(@) doesn\\'t exist on this system ; \
@@ -26,6 +26,3 @@ delete: if [ x$VAR(x) == xdefault ]; then
-c "router ripng" \
-c "no passive-interface $VAR(@)";
fi;
-allowed: local -a array;
- array=( /sys/class/net/{eth,vmnet}* ) ;
- echo -n ${array[@]##*/}