summaryrefslogtreecommitdiff
path: root/templates/protocols/static
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
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')
-rw-r--r--templates/protocols/static/route/node.tag/blackhole/node.def4
-rw-r--r--templates/protocols/static/route6/node.tag/blackhole/node.def4
-rw-r--r--templates/protocols/static/table/node.tag/route/node.tag/blackhole/node.def4
-rw-r--r--templates/protocols/static/table/node.tag/route6/node.tag/blackhole/node.def4
4 files changed, 8 insertions, 8 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;
diff --git a/templates/protocols/static/route6/node.tag/blackhole/node.def b/templates/protocols/static/route6/node.tag/blackhole/node.def
index 4344aa5a..48fca8f8 100644
--- a/templates/protocols/static/route6/node.tag/blackhole/node.def
+++ b/templates/protocols/static/route6/node.tag/blackhole/node.def
@@ -6,11 +6,11 @@ end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
fi
vtysh -c "configure terminal" \
- -c "no ipv6 route $VAR(../@) null0";
+ -c "no ipv6 route $VAR(../@) Null0";
else
if [ -n "$VAR(./distance/@)" ]; then
DIST="$VAR(./distance/@)";
fi;
vtysh -c "configure terminal" \
- -c "ipv6 route $VAR(../@) null0 $DIST";
+ -c "ipv6 route $VAR(../@) Null0 $DIST";
fi;
diff --git a/templates/protocols/static/table/node.tag/route/node.tag/blackhole/node.def b/templates/protocols/static/table/node.tag/route/node.tag/blackhole/node.def
index 06dbe5ae..727909e8 100644
--- a/templates/protocols/static/table/node.tag/route/node.tag/blackhole/node.def
+++ b/templates/protocols/static/table/node.tag/route/node.tag/blackhole/node.def
@@ -11,12 +11,12 @@ end:
fi
vtysh -c "configure terminal" \
- -c "no ip route $VAR(../@) null0 $table";
+ -c "no ip route $VAR(../@) Null0 $table";
else
if [ -n "$VAR(./distance/@)" ]; then
dist="$VAR(./distance/@)";
fi;
vtysh -c "configure terminal" \
- -c "ip route $VAR(../@) null0 $table $dist";
+ -c "ip route $VAR(../@) Null0 $table $dist";
fi;
diff --git a/templates/protocols/static/table/node.tag/route6/node.tag/blackhole/node.def b/templates/protocols/static/table/node.tag/route6/node.tag/blackhole/node.def
index a4d3fe8a..2ecd16fc 100644
--- a/templates/protocols/static/table/node.tag/route6/node.tag/blackhole/node.def
+++ b/templates/protocols/static/table/node.tag/route6/node.tag/blackhole/node.def
@@ -11,11 +11,11 @@ end:
fi
vtysh -c "configure terminal" \
- -c "no ipv6 route $VAR(../@) null0 $table";
+ -c "no ipv6 route $VAR(../@) Null0 $table";
else
if [ -n "$VAR(./distance/@)" ]; then
dist="$VAR(./distance/@)";
fi;
vtysh -c "configure terminal" \
- -c "ipv6 route $VAR(../@) null0 $table $dist";
+ -c "ipv6 route $VAR(../@) Null0 $table $dist";
fi;