From 977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 9 Mar 2020 20:08:59 +0100 Subject: vrf: T31: align vtysh calls --- .../protocols/vrf/node.tag/static/route/node.tag/next-hop/node.def | 6 +++--- 1 file 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" ]] -- cgit v1.2.3