summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-09 20:08:59 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-09 20:08:59 +0100
commit977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943 (patch)
treec53aa25479bbb7f83c7411e552da71b0d7cb8fcf
parentba226d5a4fd246b4223e150b2935365255896984 (diff)
downloadvyatta-cfg-quagga-977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943.tar.gz
vyatta-cfg-quagga-977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943.zip
vrf: T31: align vtysh calls
-rw-r--r--templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
index de930727..30b9cfd9 100644
--- a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
+++ b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def
@@ -21,18 +21,18 @@ end:
"$VAR(../@)" "$VAR(@)"
then
vtysh -c "configure terminal" \
- -c "no ip route $VAR(../@) $VAR(@) vrf $VRF_NAME"
+ -c "no ip route $VAR(../@) $VAR(@) vrf $VRF_NAME"
fi
else
vtysh -c "configure terminal" \
- -c "ip route $VAR(../@) $VAR(@) $VAR(./next-hop-interface/@) vrf $VRF_NAME $VAR(./distance/@)";
+ -c "ip route $VAR(../@) $VAR(@) $VAR(./next-hop-interface/@) vrf $VRF_NAME $VAR(./distance/@)";
fi
else
if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl \
"$VAR(../@)" "$VAR(@)"
then
vtysh -c "configure terminal" \
- -c "no ip route $VAR(../@) $VAR(@) vrf $VRF_NAME"
+ -c "no ip route $VAR(../@) $VAR(@) vrf $VRF_NAME"
fi
fi
if [[ "$VAR(../@)" = "0.0.0.0/0" ]]