diff options
Diffstat (limited to 'zebra/zebra_routemap.c')
| -rw-r--r-- | zebra/zebra_routemap.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index fbd9db1879..613b817481 100644 --- a/zebra/zebra_routemap.c +++ b/zebra/zebra_routemap.c @@ -1210,11 +1210,9 @@ route_match_ip_next_hop (void *rule, struct prefix *prefix, switch (nh_data->nexthop->type) { case NEXTHOP_TYPE_IFINDEX: - case NEXTHOP_TYPE_IFNAME: /* Interface routes can't match ip next-hop */ return RMAP_NOMATCH; case NEXTHOP_TYPE_IPV4_IFINDEX: - case NEXTHOP_TYPE_IPV4_IFNAME: case NEXTHOP_TYPE_IPV4: p.family = AF_INET; p.prefix = nh_data->nexthop->gate.ipv4; @@ -1275,11 +1273,9 @@ route_match_ip_next_hop_prefix_list (void *rule, struct prefix *prefix, switch (nh_data->nexthop->type) { case NEXTHOP_TYPE_IFINDEX: - case NEXTHOP_TYPE_IFNAME: /* Interface routes can't match ip next-hop */ return RMAP_NOMATCH; case NEXTHOP_TYPE_IPV4_IFINDEX: - case NEXTHOP_TYPE_IPV4_IFNAME: case NEXTHOP_TYPE_IPV4: p.family = AF_INET; p.prefix = nh_data->nexthop->gate.ipv4; @@ -1478,11 +1474,9 @@ route_match_ip_nexthop_prefix_len (void *rule, struct prefix *prefix, switch (nh_data->nexthop->type) { case NEXTHOP_TYPE_IFINDEX: - case NEXTHOP_TYPE_IFNAME: /* Interface routes can't match ip next-hop */ return RMAP_NOMATCH; case NEXTHOP_TYPE_IPV4_IFINDEX: - case NEXTHOP_TYPE_IPV4_IFNAME: case NEXTHOP_TYPE_IPV4: p.family = AF_INET; p.prefix = nh_data->nexthop->gate.ipv4; |
