From 369b7c567639d7230c945045c855c678fadfb887 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Fri, 12 Mar 2010 12:55:15 -0800 Subject: Fix warnings found by check_tmpl. --- .../node.tag/neighbor/node.tag/route-reflector-client/node.def | 10 +++++----- .../node.tag/neighbor/node.tag/route-server-client/node.def | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def index 1ea47938..61a6bbb0 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def @@ -14,7 +14,7 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then - vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "neighbor $VAR(../@) $peer" \ -c "address-family ipv6" \ @@ -28,14 +28,14 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then - vtysh --noerror \ - -c "configure terminal" \ + vtysh --noerror \ + -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "address-family ipv6" \ -c "no neighbor $VAR(../@) route-reflector-client" else - vtysh --noerror \ - -c "configure terminal" \ + vtysh --noerror \ + -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "no neighbor $VAR(../@) route-reflector-client" fi diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def index 913fe3b1..3f9bc3c2 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def @@ -12,13 +12,13 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then - vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "neighbor $VAR(../@) $peer" \ -c "address-family ipv6" \ -c "neighbor $VAR(../@) route-server-client" else - vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "neighbor $VAR(../@) $peer" \ -c "neighbor $VAR(../@) route-server-client" @@ -26,13 +26,13 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then delete: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv6 $VAR(../@); then - vtysh --noerror \ + vtysh --noerror \ -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ - -c "address-family ipv6" \ + -c "address-family ipv6" \ -c "no neighbor $VAR(../@) route-server-client" else - vtysh --noerror \ + vtysh --noerror \ -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "no neighbor $VAR(../@) route-server-client" -- cgit v1.2.3