summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-25 13:19:45 +0200
committerDaniil Baturin <daniil@baturin.org>2018-08-25 13:19:45 +0200
commit0a214202b81b24e657186cd06d4818d74cb7c3cc (patch)
treee8fe899558afb7ed30527a6010f306448782d94c /templates/protocols/static/route
parenteabbef4dd3b3e9a6a4cff57f72d2c82d88294968 (diff)
downloadvyatta-cfg-quagga-0a214202b81b24e657186cd06d4818d74cb7c3cc.tar.gz
vyatta-cfg-quagga-0a214202b81b24e657186cd06d4818d74cb7c3cc.zip
T795: fix blackhole routes for FRR that only accepts Null0, not null0
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def
index 95c96046..a7208dfa 100644
--- a/templates/protocols/static/route/node.tag/blackhole/node.def
+++ b/templates/protocols/static/route/node.tag/blackhole/node.def
@@ -6,11 +6,11 @@ end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
fi
vtysh -c "configure terminal" \
- -c "no ip route $VAR(../@) null0";
+ -c "no ip route $VAR(../@) Null0";
else
if [ -n "$VAR(./distance/@)" ]; then
DIST="$VAR(./distance/@)";
fi;
vtysh -c "configure terminal" \
- -c "ip route $VAR(../@) null0 $DIST";
+ -c "ip route $VAR(../@) Null0 $DIST";
fi;