From 6a0ab7100b8f0cd0ada310f8b7b8ec68603333ff Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 28 May 2009 08:30:36 -0700 Subject: Allow passive-interface definition for any device Bug 4014 The actual device (ppp for example) may not exist when OSPF is brought up, so allow any name --- templates/protocols/ospf/passive-interface/node.def | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def index d82edd03..b469f1c7 100644 --- a/templates/protocols/ospf/passive-interface/node.def +++ b/templates/protocols/ospf/passive-interface/node.def @@ -1,12 +1,6 @@ multi: type: txt help: Set to suppress routing updates on an interface - -commit:expression: exec "${vyatta_sbindir}/vyatta-interfaces.pl \ - --check all --dev $VAR(@) 2> /dev/null || \ - [ x$VAR(@) == xdefault ]"; \ - "$VAR(@) is not 'default' or a known interface name" - allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default update: if [ -z $VAR(@) ] then vyatta-vtysh -c "configure terminal" -c "router ospf" \ -- cgit v1.2.3