diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-28 08:30:36 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-28 08:30:36 -0700 |
commit | 6a0ab7100b8f0cd0ada310f8b7b8ec68603333ff (patch) | |
tree | bdf7949edba6ca998211d61e2aa3f20fcdd3f7e3 /templates/protocols/ospf/passive-interface | |
parent | 64f73eb8ee86c2a85c8e7b2cc4463dcd6aed197b (diff) | |
download | vyatta-cfg-quagga-6a0ab7100b8f0cd0ada310f8b7b8ec68603333ff.tar.gz vyatta-cfg-quagga-6a0ab7100b8f0cd0ada310f8b7b8ec68603333ff.zip |
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
Diffstat (limited to 'templates/protocols/ospf/passive-interface')
-rw-r--r-- | templates/protocols/ospf/passive-interface/node.def | 6 |
1 files changed, 0 insertions, 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" \ |