From 2fcc29524213090a78fc6b744adabf45932eb81f Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 2 Nov 2009 12:26:18 -0800 Subject: Fix 5028: BGP password containing special characters not correctly passed to quagga --- templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def index 8d83775a..fc7b2110 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/password/node.def @@ -13,7 +13,7 @@ update: if [ -n "$VAR(../remote-as/@)" ]; then vyatta-vtysh -c "configure terminal" \ -c "router bgp $VAR(../../@)" \ -c "neighbor $VAR(../@) $peer" \ - -c "neighbor $VAR(../@) password $VAR(@)" + -c 'neighbor $VAR(../@) password $VAR(@)' delete: vyatta-vtysh \ -c "configure terminal" -c "router bgp $VAR(../../@)" \ -c "no neighbor $VAR(../@) password" -- cgit v1.2.3