Acked-by: Donald Sharp <[email protected]> On Mon, Sep 7, 2015 at 10:52 PM, Hiroshi Yokoi <[email protected] > wrote:
> > 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"? > > Thank you > > Signed-off-by: Hiroshi Yokoi <[email protected]> > --- > zebra/zserv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 @@ zsend_ipv6_nexthop_lookup (struct zserv *client, > struct in6_addr *addr, > > /* 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) > { > -- > 1.9.1 > > _______________________________________________ > Quagga-dev mailing list > [email protected] > https://lists.quagga.net/mailman/listinfo/quagga-dev >
_______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
