summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-03-12 12:55:15 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-03-12 12:55:15 -0800
commit369b7c567639d7230c945045c855c678fadfb887 (patch)
treee41cf0e650849a22a300f3e79a2b84f56ccee80e /templates
parentbd1223a8d69ce7162f8246deb2856903dffc5a5d (diff)
downloadvyatta-cfg-quagga-369b7c567639d7230c945045c855c678fadfb887.tar.gz
vyatta-cfg-quagga-369b7c567639d7230c945045c855c678fadfb887.zip
Fix warnings found by check_tmpl.
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/route-reflector-client/node.def10
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/route-server-client/node.def10
2 files changed, 10 insertions, 10 deletions
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"