mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 07:37:54 +00:00
pimd: lookup nh using vrf_id we checked before
Update zclient_lookup_nexthop_once() to create the zapi header using the vrf_id on the pim->vrf struct. This is the one we do a check on a couple lines before, so we should be using it when we actually create the header as well. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
7713e71a10
commit
b83e35c764
@ -346,7 +346,8 @@ static int zclient_lookup_nexthop_once(struct pim_instance *pim,
|
||||
|
||||
s = zlookup->obuf;
|
||||
stream_reset(s);
|
||||
zclient_create_header(s, ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB, pim->vrf_id);
|
||||
zclient_create_header(s, ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB,
|
||||
pim->vrf->vrf_id);
|
||||
stream_put_in_addr(s, &addr);
|
||||
stream_putw_at(s, 0, stream_get_endp(s));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user