summaryrefslogtreecommitdiffstats
path: root/ripd/rip_zebra.c
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-09-16 21:55:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 15:51:43 +0200
commit85eda2c98520a9553bdc05c136618f9d04917e9b (patch)
treebf594e1a19674d61c0a03b7183d8884ce04c4f9d /ripd/rip_zebra.c
parentvtysh: relax error condition on build (diff)
downloadfrr-85eda2c98520a9553bdc05c136618f9d04917e9b.tar.xz
frr-85eda2c98520a9553bdc05c136618f9d04917e9b.zip
Make route flags a 32bit field
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_zebra.c')
-rw-r--r--ripd/rip_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index c312641d4..627755e1c 100644
--- a/ripd/rip_zebra.c
+++ b/ripd/rip_zebra.c
@@ -147,7 +147,7 @@ rip_zebra_read_ipv4 (int command, struct zclient *zclient, zebra_size_t length,
/* Type, flags, message. */
api.type = stream_getc (s);
api.instance = stream_getw (s);
- api.flags = stream_getc (s);
+ api.flags = stream_getl (s);
api.message = stream_getc (s);
/* IPv4 prefix. */