Merge pull request #4828 from vishaldhingra/blackhole_type

zebra : blackhole_type was not set correctly in recursive routes
This commit is contained in:
Donald Sharp 2019-08-13 07:10:02 -04:00 committed by GitHub
commit 3e31782374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ static void nexthop_set_resolved(afi_t afi, const struct nexthop *newhop,
break;
case NEXTHOP_TYPE_BLACKHOLE:
resolved_hop->type = NEXTHOP_TYPE_BLACKHOLE;
resolved_hop->bh_type = nexthop->bh_type;
resolved_hop->bh_type = newhop->bh_type;
break;
}