summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-02-13 00:35:43 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-24 12:46:14 +0100
commitb74f1be8ff06a21a3d0fce6e078e68f69700cb55 (patch)
treecc0e0f585a7824f32bf4b9b31ae0b09345db676e
parent7a6327c003a57b8c9c98dea84f48d4f9b2eb0763 (diff)
zebra: fpm: fix protobuf compile
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--zebra/zebra_fpm_protobuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_fpm_protobuf.c b/zebra/zebra_fpm_protobuf.c
index fba57c68f5..11869d8a2b 100644
--- a/zebra/zebra_fpm_protobuf.c
+++ b/zebra/zebra_fpm_protobuf.c
@@ -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));