diff options
| -rw-r--r-- | zebra/zebra_vty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 1ce8e442fa..6583e9ed3f 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -1199,7 +1199,7 @@ static void vty_show_ip_route_detail(struct vty *vty, struct route_node *rn, } if ((re->vrf_id != nexthop->vrf_id) - && !NEXTHOP_TYPE_BLACKHOLE) { + && (nexthop->type != NEXTHOP_TYPE_BLACKHOLE)) { struct vrf *vrf = vrf_lookup_by_id(nexthop->vrf_id); @@ -1417,7 +1417,7 @@ static void vty_show_ip_route(struct vty *vty, struct route_node *rn, } if ((nexthop->vrf_id != re->vrf_id) - && !NEXTHOP_TYPE_BLACKHOLE) { + && (nexthop->type != NEXTHOP_TYPE_BLACKHOLE)) { struct vrf *vrf = vrf_lookup_by_id(nexthop->vrf_id); @@ -1572,7 +1572,7 @@ static void vty_show_ip_route(struct vty *vty, struct route_node *rn, } if ((nexthop->vrf_id != re->vrf_id) - && !NEXTHOP_TYPE_BLACKHOLE) { + && (nexthop->type != NEXTHOP_TYPE_BLACKHOLE)) { struct vrf *vrf = vrf_lookup_by_id(nexthop->vrf_id); if (vrf) |
