diff options
author | Renato Westphal <renatowestphal@gmail.com> | 2016-09-28 17:25:16 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-28 22:05:36 +0200 |
commit | 3f67fb9c307c5f83011b3fc2837436881289ecea (patch) | |
tree | afc389a31f344cb672755cd17bb1bbc2f60f7594 /ldpd | |
parent | lib: fix vrf_bitmap leak in zclient_free() (diff) | |
download | frr-3f67fb9c307c5f83011b3fc2837436881289ecea.tar.xz frr-3f67fb9c307c5f83011b3fc2837436881289ecea.zip |
ldpd: make route flags a 32bit field
This is a followup to commit 0fc452dc5, which updated all daemons
except ldpd.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd')
-rw-r--r-- | ldpd/ldp_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c index 1d443a648..6c4137d30 100644 --- a/ldpd/ldp_zebra.c +++ b/ldpd/ldp_zebra.c @@ -361,7 +361,7 @@ ldp_zebra_read_route(int command, struct zclient *zclient, zebra_size_t length, type = stream_getc(s); if (type == ZEBRA_ROUTE_CONNECT) kr.flags |= F_CONNECTED; - stream_getc(s); /* flags, unused */ + stream_getl(s); /* flags, unused */ stream_getw(s); /* instance, unused */ message_flags = stream_getc(s); if (!CHECK_FLAG(message_flags, ZAPI_MESSAGE_NEXTHOP)) |