mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 11:01:48 +00:00
Merge pull request #4589 from ton31337/fix/match_ip_next_hop_type_allows_without_args
doc: Correct some comments and CLI helper for `match ip[v6] next-hop type`
This commit is contained in:
commit
e55929c5bc
@ -112,14 +112,14 @@ struct route_map_match_set_hooks {
|
||||
const char *arg,
|
||||
route_map_event_t type);
|
||||
|
||||
/* match ip next hop type */
|
||||
/* match ip next-hop type */
|
||||
int (*match_ip_next_hop_type)(struct vty *vty,
|
||||
struct route_map_index *index,
|
||||
const char *command,
|
||||
const char *arg,
|
||||
route_map_event_t type);
|
||||
|
||||
/* no match ip next hop type */
|
||||
/* no match ip next-hop type */
|
||||
int (*no_match_ip_next_hop_type)(struct vty *vty,
|
||||
struct route_map_index *index,
|
||||
const char *command,
|
||||
@ -160,7 +160,7 @@ struct route_map_match_set_hooks {
|
||||
const char *arg,
|
||||
route_map_event_t type);
|
||||
|
||||
/* no match ipv6next-hop type */
|
||||
/* no match ipv6 next-hop type */
|
||||
int (*no_match_ipv6_next_hop_type)(struct vty *vty,
|
||||
struct route_map_index *index,
|
||||
const char *command, const char *arg,
|
||||
@ -303,7 +303,7 @@ void route_map_no_match_ip_next_hop_prefix_list_hook(int (*func)(
|
||||
rmap_match_set_hook.no_match_ip_next_hop_prefix_list = func;
|
||||
}
|
||||
|
||||
/* match ip next hop type */
|
||||
/* match ip next-hop type */
|
||||
void route_map_match_ip_next_hop_type_hook(int (*func)(
|
||||
struct vty *vty, struct route_map_index *index, const char *command,
|
||||
const char *arg, route_map_event_t type))
|
||||
@ -311,7 +311,7 @@ void route_map_match_ip_next_hop_type_hook(int (*func)(
|
||||
rmap_match_set_hook.match_ip_next_hop_type = func;
|
||||
}
|
||||
|
||||
/* no match ip next hop type */
|
||||
/* no match ip next-hop type */
|
||||
void route_map_no_match_ip_next_hop_type_hook(int (*func)(
|
||||
struct vty *vty, struct route_map_index *index, const char *command,
|
||||
const char *arg, route_map_event_t type))
|
||||
@ -2434,7 +2434,7 @@ DEFUN (no_match_ipv6_address_prefix_list,
|
||||
DEFUN(match_ipv6_next_hop_type, match_ipv6_next_hop_type_cmd,
|
||||
"match ipv6 next-hop type <blackhole>",
|
||||
MATCH_STR IPV6_STR
|
||||
"Match address of route\n"
|
||||
"Match next-hop address of route\n"
|
||||
"Match entries by type\n"
|
||||
"Blackhole\n")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user