From 3a2ce6a14e3e302c3fdca2ff99143cfd06b145e6 Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 8 Apr 2005 01:30:51 +0000 Subject: * prefix.[hc]: Pass argument to the inet6_ntoa by value making it more inet_ntoa alike. * ripngd.[hc], ripng_interface.c, ripng_peer.c: inet6_ntoa() takes argument now by value. --- ripngd/ripng_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripngd/ripng_interface.c') diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c index d2fa3d60..52a1fe24 100644 --- a/ripngd/ripng_interface.c +++ b/ripngd/ripng_interface.c @@ -437,7 +437,7 @@ ripng_interface_address_add (int command, struct zclient *zclient, { if (IS_RIPNG_DEBUG_ZEBRA) zlog_debug ("RIPng connected address %s/%d add", - inet6_ntoa(&p->u.prefix6), + inet6_ntoa(p->u.prefix6), p->prefixlen); /* Check is this prefix needs to be redistributed. */ -- cgit v1.2.3