summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/ChangeLog5
-rwxr-xr-xvtysh/extract.pl.in4
-rw-r--r--vtysh/vtysh.c2
3 files changed, 8 insertions, 3 deletions
diff --git a/vtysh/ChangeLog b/vtysh/ChangeLog
index f2ba3332..de62763c 100644
--- a/vtysh/ChangeLog
+++ b/vtysh/ChangeLog
@@ -18,6 +18,11 @@
precision commands: send to all daemons.
(vtysh_init_vty) Install new log timestamp precision commands.
+2007-02-12 Juergen Kammer <j.kammer@eurodata.de>
+ * extract.pl: AS4 compatibility for router bgp ASNUMBER
+ * extract.pl.in: AS4 compatibility for router bgp ASNUMBER
+ * vtysh.c: AS4 compatibility for router bgp ASNUMBER
+
2006-07-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* vtysh_main.c: (usage) Add new -d and -E options. And note that
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 723fe8d6..789819c6 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -37,8 +37,8 @@ $ignore{'"router ripng"'} = "ignore";
$ignore{'"router ospf"'} = "ignore";
$ignore{'"router ospf <0-65535>"'} = "ignore";
$ignore{'"router ospf6"'} = "ignore";
-$ignore{'"router bgp <1-65535>"'} = "ignore";
-$ignore{'"router bgp <1-65535> view WORD"'} = "ignore";
+$ignore{'"router bgp CMD_AS_RANGE"'} = "ignore";
+$ignore{'"router bgp CMD_AS_RANGE view WORD"'} = "ignore";
$ignore{'"router isis WORD"'} = "ignore";
$ignore{'"router zebra"'} = "ignore";
$ignore{'"address-family ipv4"'} = "ignore";
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index c7efa91b..9f47515d 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -838,7 +838,7 @@ DEFUNSH (VTYSH_ALL,
DEFUNSH (VTYSH_BGPD,
router_bgp,
router_bgp_cmd,
- "router bgp <1-65535>",
+ "router bgp CMD_AS_RANGE",
ROUTER_STR
BGP_STR
AS_STR)