From 27db7410d11a020a409704203f1476a5843fc766 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 5 Nov 2007 18:53:09 -0800 Subject: Fix update to bgp remote-as that wasn't getting updated. --- templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def index aad03776..74235115 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def @@ -1,7 +1,7 @@ type: u32 help: "Specify BGP neighbor ASN" syntax: $(@) >= 1 && $(@) <= 65535; "remote-as must be between 1 and 65535" -create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \ +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \ -c \"neighbor $(../@) remote-as $(@)\" " delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router bgp $(../../@)\" \ -c \"no neighbor $(../@) remote-as $(@)\" " -- cgit v1.2.3