From 0797f7cd410ac7a3a5e2f9f28be90d5eb0e31366 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 10 Mar 2008 14:31:51 -0700 Subject: Fix Bug 1513 BGP - peer-port and local-port accept invalid values - BGP - peer-port range changed to <1-65535>, also indicated in the help --- templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def index 4be26de8..84e8be28 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def @@ -1,7 +1,7 @@ type: u32 help: Neighbor's BGP port -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; \ - "port must be between 1 and 4294967294" +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; \ + "port must be between 1 and 65535" commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $VAR(../../@) --neighbor $VAR(../@)" update:expression: "\ @@ -20,4 +20,4 @@ delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -noerr \ -c \"no neighbor $VAR(../@) port \" " comp_help: possible completions: - <1-4294967294> Set neighbor's BGP port + <1-65535> Set neighbor's BGP port -- cgit v1.2.3