mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 13:05:11 +00:00
zebra: Fix protobuf build on stable/2.0
When compiling w/ --enable-protobuf on stable/2.0 we were attempting to dereference the zvrf->vrf_id which got moved to zvrf->vrf->vrf_id. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
81180ab813
commit
9cbae545f0
@ -53,7 +53,7 @@ create_delete_route_message (qpb_allocator_t *allocator, rib_dest_t *dest,
|
||||
}
|
||||
|
||||
fpm__delete_route__init(msg);
|
||||
msg->vrf_id = rib_dest_vrf(dest)->vrf_id;
|
||||
msg->vrf_id = rib_dest_vrf(dest)->vrf->vrf_id;
|
||||
|
||||
qpb_address_family_set(&msg->address_family, rib_dest_af(dest));
|
||||
|
||||
@ -159,7 +159,7 @@ create_add_route_message (qpb_allocator_t *allocator, rib_dest_t *dest,
|
||||
|
||||
fpm__add_route__init(msg);
|
||||
|
||||
msg->vrf_id = rib_dest_vrf(dest)->vrf_id;
|
||||
msg->vrf_id = rib_dest_vrf(dest)->vrf->vrf_id;
|
||||
|
||||
qpb_address_family_set (&msg->address_family, rib_dest_af(dest));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user