summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-10-16 14:36:23 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-10-16 14:36:23 -0700
commit3fd6af385b0a455218d866177c8337ae5e114ef0 (patch)
treec0d0e22fd2ebafc54ab68c833a9569e152f8625c /templates
parent0c46144fa1e11dfb964c79c730c776499341fcc1 (diff)
downloadvyatta-cfg-quagga-3fd6af385b0a455218d866177c8337ae5e114ef0.tar.gz
vyatta-cfg-quagga-3fd6af385b0a455218d866177c8337ae5e114ef0.zip
Fix 5015: Route maps terms that contain reference to VIF interfaces fail to load on boot
Diffstat (limited to 'templates')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def b/templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def
index e21b08b3..66cab1e7 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def
@@ -2,7 +2,7 @@ type: txt
help: Set the first hop interface of a route to match
comp_help: \1 <txt>\t\tinterface name
commit:expression: $VAR(../../action/) != ""; "policy route-map $VAR(../../../@) rule $VAR(../../@): You must specify an action"
-syntax:expression: exec " \
+commit:expression: exec " \
if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \
echo policy route-map $VAR(../../../@) rule $VAR(../../@) match interface: interface $VAR(@) doesn\\'t exist on this system ; \
exit 1 ; \