summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-09-12 20:47:18 +0300
committerGitHub <noreply@github.com>2021-09-12 20:47:18 +0300
commit0f64a435db8c92b578408b9aab9de29e0b15b4dd (patch)
tree710f5de3b6d3ed26d8e4d0441f3c0e4f2c321641 /zebra/zapi_msg.c
parent3e2321b88c4d2ff1f3dadfcc1b6cfd8d5e785f87 (diff)
parent0789eb69e5b4b1d0b9040cea79cd047ce77b9406 (diff)
Merge pull request #9475 from iqras23/change1
bgpd: VRF-Lite fix nexthop type
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 72c7071502..9ffbcc9223 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1611,7 +1611,8 @@ static struct nexthop *nexthop_from_zapi(const struct zapi_nexthop *api_nh,
zlog_debug("%s: nh blackhole %d",
__func__, api_nh->bh_type);
- nexthop = nexthop_from_blackhole(api_nh->bh_type);
+ nexthop =
+ nexthop_from_blackhole(api_nh->bh_type, api_nh->vrf_id);
break;
}