}
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);
}
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 ((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)