From 3fd6af385b0a455218d866177c8337ae5e114ef0 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 16 Oct 2009 14:36:23 -0700 Subject: Fix 5015: Route maps terms that contain reference to VIF interfaces fail to load on boot --- .../policy/route-map/node.tag/rule/node.tag/match/interface/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/policy/route-map') 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 \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 ; \ -- cgit v1.2.3