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>
}
fpm__delete_route__init(msg);
}
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));
qpb_address_family_set(&msg->address_family, rib_dest_af(dest));
fpm__add_route__init(msg);
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));
qpb_address_family_set (&msg->address_family, rib_dest_af(dest));