]> git.proxmox.com Git - mirror_frr.git/commitdiff
rmap: Minor changes in comments regarding match ip[v6] next-hop type
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Sat, 22 Jun 2019 06:30:44 +0000 (09:30 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Sat, 22 Jun 2019 11:33:11 +0000 (14:33 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
lib/routemap.c

index f548452b78453f2a20fda272b37113dd5bdbd7db..d905eb606519b1acbb04090f5b16d6734bcc99d5 100644 (file)
@@ -111,14 +111,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,
@@ -159,7 +159,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,
@@ -302,7 +302,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))
@@ -310,7 +310,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))