zebra: fpm: fix protobuf compile

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2017-02-13 00:35:43 +01:00
parent 7a6327c003
commit b74f1be8ff

View File

@ -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 = zvrf_id(rib_dest_vrf(dest));
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 = zvrf_id(rib_dest_vrf(dest));
qpb_address_family_set (&msg->address_family, rib_dest_af(dest));