summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-01 17:35:11 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-10-08 18:25:41 +0200
commit7e8699914069fb7fa0bb5c74a28ea9c7687670f1 (patch)
treed17b62e031a4a4978ac6482ffe9ec3e78e05e9f9 /eigrpd
parentMerge pull request #9712 from idryzhov/travis-gprc (diff)
downloadfrr-7e8699914069fb7fa0bb5c74a28ea9c7687670f1.tar.xz
frr-7e8699914069fb7fa0bb5c74a28ea9c7687670f1.zip
*: cleanup number-named access-lists in CLI
There's no more difference between number-named and word-named access-lists. This commit removes separate arguments for number-named ACLs from CLI. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_routemap.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 90913a5b2..67fab8927 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -858,12 +858,10 @@ ALIAS(no_match_interface, no_match_interface_val_cmd, "no match interface WORD",
DEFUN (match_ip_next_hop,
match_ip_next_hop_cmd,
- "match ip next-hop ((1-199)|(1300-2699)|WORD)",
+ "match ip next-hop WORD",
MATCH_STR
IP_STR
"Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
return eigrp_route_match_add(vty, vty->index, "ip next-hop", argv[0]);
@@ -886,10 +884,8 @@ DEFUN (no_match_ip_next_hop,
}
ALIAS(no_match_ip_next_hop, no_match_ip_next_hop_val_cmd,
- "no match ip next-hop ((1-199)|(1300-2699)|WORD)", NO_STR MATCH_STR IP_STR
+ "no match ip next-hop WORD", NO_STR MATCH_STR IP_STR
"Match next-hop address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
"IP Access-list name\n")
DEFUN (match_ip_next_hop_prefix_list,
@@ -931,12 +927,10 @@ ALIAS(no_match_ip_next_hop_prefix_list,
DEFUN (match_ip_address,
match_ip_address_cmd,
- "match ip address ((1-199)|(1300-2699)|WORD)",
+ "match ip address WORD",
MATCH_STR
IP_STR
"Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
return eigrp_route_match_add(vty, vty->index, "ip address", argv[0]);
@@ -958,10 +952,8 @@ DEFUN (no_match_ip_address,
}
ALIAS(no_match_ip_address, no_match_ip_address_val_cmd,
- "no match ip address ((1-199)|(1300-2699)|WORD)", NO_STR MATCH_STR IP_STR
+ "no match ip address WORD", NO_STR MATCH_STR IP_STR
"Match address of route\n"
- "IP access-list number\n"
- "IP access-list number (expanded range)\n"
"IP Access-list name\n")
DEFUN (match_ip_address_prefix_list,