summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_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 18:12:43 +0200
commit0fc452dc57467bd1ab1dabe119be979d996af3f9 (patch)
tree2c19dc4152b9e7e7238002e6ad488a8074233b1e /ripngd/ripng_zebra.c
parentlib: Check prefix length from zebra is sensible (diff)
downloadfrr-0fc452dc57467bd1ab1dabe119be979d996af3f9.tar.xz
frr-0fc452dc57467bd1ab1dabe119be979d996af3f9.zip
Make route flags a 32bit field
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r--ripngd/ripng_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index e1ede095e..637e8f5a2 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -143,7 +143,7 @@ ripng_zebra_read_ipv6 (int command, struct zclient *zclient,
/* 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);
/* IPv6 prefix. */