diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-21 22:38:31 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-28 14:01:13 +0300 |
| commit | 943224a13afd27891d65e67c5044b969cc4f6a91 (patch) | |
| tree | 9689e8086e05e5f511fb5771a4ed83651441cd41 /eigrpd | |
| parent | 808d0960f34c8e3dfec139b879591434e2a1d31d (diff) | |
lib: Add autocomplete for prefix-list under route-maps
```
exit1-debian-9(config-route-map)# match ip route-source prefix-list ?
<cr>
PREFIXLIST_NAME IP prefix-list name
p1 p2
```
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'eigrpd')
| -rw-r--r-- | eigrpd/eigrp_routemap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c index 67fab89271..65fa95b652 100644 --- a/eigrpd/eigrp_routemap.c +++ b/eigrpd/eigrp_routemap.c @@ -890,7 +890,7 @@ ALIAS(no_match_ip_next_hop, no_match_ip_next_hop_val_cmd, DEFUN (match_ip_next_hop_prefix_list, match_ip_next_hop_prefix_list_cmd, - "match ip next-hop prefix-list WORD", + "match ip next-hop prefix-list PREFIXLIST_NAME", MATCH_STR IP_STR "Match next-hop address of route\n" @@ -920,7 +920,7 @@ DEFUN (no_match_ip_next_hop_prefix_list, ALIAS(no_match_ip_next_hop_prefix_list, no_match_ip_next_hop_prefix_list_val_cmd, - "no match ip next-hop prefix-list WORD", NO_STR MATCH_STR IP_STR + "no match ip next-hop prefix-list PREFIXLIST_NAME", NO_STR MATCH_STR IP_STR "Match next-hop address of route\n" "Match entries of prefix-lists\n" "IP prefix-list name\n") @@ -958,7 +958,7 @@ ALIAS(no_match_ip_address, no_match_ip_address_val_cmd, DEFUN (match_ip_address_prefix_list, match_ip_address_prefix_list_cmd, - "match ip address prefix-list WORD", + "match ip address prefix-list PREFIXLIST_NAME", MATCH_STR IP_STR "Match address of route\n" @@ -987,7 +987,7 @@ DEFUN (no_match_ip_address_prefix_list, } ALIAS(no_match_ip_address_prefix_list, no_match_ip_address_prefix_list_val_cmd, - "no match ip address prefix-list WORD", NO_STR MATCH_STR IP_STR + "no match ip address prefix-list PREFIXLIST_NAME", NO_STR MATCH_STR IP_STR "Match address of route\n" "Match entries of prefix-lists\n" "IP prefix-list name\n") |
