diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-11-10 20:43:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 20:43:59 +0100 |
commit | b3ce83ba29c0414e1aed159f2379b993873832b5 (patch) | |
tree | a2d75deaf039865290dfed2022bafaaabca4d900 | |
parent | 69498ef20d41a0682c17ac6cfa841737b9e01f09 (diff) | |
parent | 1a581f8b9f92813cc3f108424e0bc1cea32a0eef (diff) | |
download | vyatta-cfg-quagga-b3ce83ba29c0414e1aed159f2379b993873832b5.tar.gz vyatta-cfg-quagga-b3ce83ba29c0414e1aed159f2379b993873832b5.zip |
route-map: T3974: use warning over error when "match interface" is non-existent
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/match/interface/node.def | 3 |
1 files changed, 1 insertions, 2 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 f590c32f..b936b00f 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 @@ -5,8 +5,7 @@ val_help: Interface name commit:expression: $VAR(../../action/) != ""; "You must specify an action" commit:expression: exec " \ if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \ - echo interface $VAR(@) doesn\\'t exist on this system ; \ - exit 1 ; \ + echo Warning: interface $VAR(@) doesn\\'t exist on this system; \ fi ; " update: vtysh -c "configure terminal" \ |