]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ldpd: make route flags a 32bit field
authorRenato Westphal <renatowestphal@gmail.com>
Wed, 28 Sep 2016 15:25:16 +0000 (12:25 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Sep 2016 20:05:36 +0000 (16:05 -0400)
This is a followup to commit 0fc452dc5, which updated all daemons
except ldpd.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/ldp_zebra.c

index 1d443a6487ea906344759063077e0feaf8eed8cd..6c4137d3051d720e2c25d09db512d551ee5d6fa1 100644 (file)
@@ -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))