diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-08-13 07:10:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-13 07:10:02 -0400 |
| commit | 3e31782374460a37f02bfa48dc7e48266c7cd238 (patch) | |
| tree | fb407dee6ada253e3b7e8ab874722998cccffdcf | |
| parent | ecb73a10e7a9710914aef658d239f42538a881ab (diff) | |
| parent | 2dc359a66e0f79fe778156fc8b712167d1be3c7e (diff) | |
Merge pull request #4828 from vishaldhingra/blackhole_type
zebra : blackhole_type was not set correctly in recursive routes
| -rw-r--r-- | zebra/zebra_nhg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 977e3bba79..f4b86f3cfe 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -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; } |
