summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-03-20 13:10:17 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-03-20 13:10:17 -0700
commit488c01b42ca198aa9a1463b8e09b6089e8b67506 (patch)
treeb154d326f0369b687fcf3604a03c48f1592d5818 /templates/protocols
parent442fd359980919f018107849240b63ce73bcffc3 (diff)
downloadvyatta-cfg-quagga-488c01b42ca198aa9a1463b8e09b6089e8b67506.tar.gz
vyatta-cfg-quagga-488c01b42ca198aa9a1463b8e09b6089e8b67506.zip
Revert "Fix warnings found by check_tmpl."
This reverts commit 369b7c567639d7230c945045c855c678fadfb887.
Diffstat (limited to 'templates/protocols')
-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 61a6bbb0..1ea47938 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 3f9bc3c2..913fe3b1 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"