zebra: fix addr sent in ZEBRA_IPV6_NEXTHOP_LOOKUP
I found that zebra doesn't set correct IPv6 address in its result because of
using *addr's address. Although I'm using 0.99.22, the latest version has
also use "&addr". Shouldn't it use "addr"?
Signed-off-by: Hiroshi Yokoi <hiroshi.yokoi.0313@gmail.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 8ca5615..e26c8ca 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -490,7 +490,7 @@
/* Fill in result. */
zserv_create_header (s, ZEBRA_IPV6_NEXTHOP_LOOKUP, vrf_id);
- stream_put (s, &addr, 16);
+ stream_put (s, addr, 16);
if (rib)
{