summaryrefslogtreecommitdiffstats
path: root/ospf6d
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 /ospf6d
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 'ospf6d')
-rw-r--r--ospf6d/ospf6_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c
index 5969ef7b6..45165fdf2 100644
--- a/ospf6d/ospf6_zebra.c
+++ b/ospf6d/ospf6_zebra.c
@@ -229,7 +229,7 @@ ospf6_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. */