summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-10 20:44:04 +0100
committerGitHub <noreply@github.com>2021-11-10 20:44:04 +0100
commit32cbb1e5059c6c27449b7013f790aff1c50a9831 (patch)
treedadc6c0082b41d8c4825d207a0807bbf828a07e8
parent8fa85cac87faeb35d1bf0b44d8fc234824650275 (diff)
parent2a8370107bf53b8b82a9eae05e618cff70b90838 (diff)
downloadvyatta-cfg-quagga-32cbb1e5059c6c27449b7013f790aff1c50a9831.tar.gz
vyatta-cfg-quagga-32cbb1e5059c6c27449b7013f790aff1c50a9831.zip
Merge pull request #93 from c-po/equuleus
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.def3
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" \