forked from Mirror/frr
rmap: Minor changes in comments regarding match ip[v6] next-hop type
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
d8524fbef4
commit
f554fda700
|
@ -112,14 +112,14 @@ struct route_map_match_set_hooks {
|
||||||
const char *arg,
|
const char *arg,
|
||||||
route_map_event_t type);
|
route_map_event_t type);
|
||||||
|
|
||||||
/* match ip next hop type */
|
/* match ip next-hop type */
|
||||||
int (*match_ip_next_hop_type)(struct vty *vty,
|
int (*match_ip_next_hop_type)(struct vty *vty,
|
||||||
struct route_map_index *index,
|
struct route_map_index *index,
|
||||||
const char *command,
|
const char *command,
|
||||||
const char *arg,
|
const char *arg,
|
||||||
route_map_event_t type);
|
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,
|
int (*no_match_ip_next_hop_type)(struct vty *vty,
|
||||||
struct route_map_index *index,
|
struct route_map_index *index,
|
||||||
const char *command,
|
const char *command,
|
||||||
|
@ -160,7 +160,7 @@ struct route_map_match_set_hooks {
|
||||||
const char *arg,
|
const char *arg,
|
||||||
route_map_event_t type);
|
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,
|
int (*no_match_ipv6_next_hop_type)(struct vty *vty,
|
||||||
struct route_map_index *index,
|
struct route_map_index *index,
|
||||||
const char *command, const char *arg,
|
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;
|
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)(
|
void route_map_match_ip_next_hop_type_hook(int (*func)(
|
||||||
struct vty *vty, struct route_map_index *index, const char *command,
|
struct vty *vty, struct route_map_index *index, const char *command,
|
||||||
const char *arg, route_map_event_t type))
|
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;
|
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)(
|
void route_map_no_match_ip_next_hop_type_hook(int (*func)(
|
||||||
struct vty *vty, struct route_map_index *index, const char *command,
|
struct vty *vty, struct route_map_index *index, const char *command,
|
||||||
const char *arg, route_map_event_t type))
|
const char *arg, route_map_event_t type))
|
||||||
|
|
Loading…
Reference in a new issue