summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2008-03-10 14:31:51 -0700
committerMohit Mehta <mohit@vyatta.com>2008-03-10 14:31:51 -0700
commit0797f7cd410ac7a3a5e2f9f28be90d5eb0e31366 (patch)
tree92514287e1ed7de14e0b3d82fd7d9f2184dc6bf1 /templates/protocols
parent63a6af1e647780a9adbdafffdaad4a43415cfedf (diff)
downloadvyatta-cfg-quagga-0797f7cd410ac7a3a5e2f9f28be90d5eb0e31366.tar.gz
vyatta-cfg-quagga-0797f7cd410ac7a3a5e2f9f28be90d5eb0e31366.zip
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
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/port/node.def6
1 files 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