From e60dcd0ba00f0c38f10c7f4e487f7be3e43d277a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 6 Mar 2020 18:31:36 +0000 Subject: ipv6: route6: tabs and spaces --- templates/protocols/static/route6/node.tag/blackhole/node.def | 3 +-- templates/protocols/static/route6/node.tag/next-hop/node.def | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'templates/protocols') diff --git a/templates/protocols/static/route6/node.tag/blackhole/node.def b/templates/protocols/static/route6/node.tag/blackhole/node.def index 48fca8f8..87a259d1 100644 --- a/templates/protocols/static/route6/node.tag/blackhole/node.def +++ b/templates/protocols/static/route6/node.tag/blackhole/node.def @@ -1,6 +1,5 @@ help: Silently discard pkts when matched - -end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then +end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then if ! ${vyatta_sbindir}/vyatta-next-hop-check $VAR(../@) ipv6 address; then exit 1; fi diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def index e3a668b7..a63064d9 100644 --- a/templates/protocols/static/route6/node.tag/next-hop/node.def +++ b/templates/protocols/static/route6/node.tag/next-hop/node.def @@ -1,9 +1,6 @@ tag: - type: ipv6 - help: Next-hop IPv6 router [REQUIRED] - end: if [[ -z "$VAR(./disable)" ]] then @@ -15,9 +12,9 @@ end: if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl \ "$VAR(../@)" "$VAR(@)" then - quagga_conf=`vtysh -c "show running-config" | \ + quagga_conf=`vtysh -c "show running-config" | \ grep "^ipv6 route $VAR(../@) $VAR(@)"` - ifname=`echo $quagga_conf | awk '{print $5}'` + ifname=`echo $quagga_conf | awk '{print $5}'` vtysh -c "configure terminal" \ -c "no ipv6 route $VAR(../@) $VAR(@) $ifname" -- cgit v1.2.3