summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-03-05 14:55:06 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-03-05 14:55:06 -0800
commit523db60a6fbe0274b718bb83baed1e5b257302c8 (patch)
treee58e34f7c3eecf2ec157729dc092c734dc84da95 /templates
parentc312c69ecc52ff9b9171f5f776d56bf8fea78232 (diff)
downloadvyatta-cfg-quagga-523db60a6fbe0274b718bb83baed1e5b257302c8.tar.gz
vyatta-cfg-quagga-523db60a6fbe0274b718bb83baed1e5b257302c8.zip
Fix call to vyatta-interfaces.pl --check now requires --dev
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/ospf/passive-interface/node.def5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def
index 6a0decfc..9db0aca8 100644
--- a/templates/protocols/ospf/passive-interface/node.def
+++ b/templates/protocols/ospf/passive-interface/node.def
@@ -2,8 +2,9 @@ multi:
type: txt
help: Set to suppress routing updates on an interface
-syntax:expression: exec "${vyatta_sbindir}/vyatta-interfaces.pl \
- --check $VAR(@) 2> /dev/null || [ x$VAR(@) == xdefault ]"; \
+syntax: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