diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-09 20:08:59 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-09 20:08:59 +0100 |
commit | 977ee2e0ccfe4e67dfc503fe417cae7c0b5fc943 (patch) | |
tree | c53aa25479bbb7f83c7411e552da71b0d7cb8fcf | |
parent | ba226d5a4fd246b4223e150b2935365255896984 (diff) | |
download | vyatta-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.def | 6 |
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" ]] |