summaryrefslogtreecommitdiff
path: root/ripngd/ripng_peer.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-04-08 01:30:51 +0000
committerhasso <hasso>2005-04-08 01:30:51 +0000
commit3a2ce6a14e3e302c3fdca2ff99143cfd06b145e6 (patch)
treef27ec1418be4c3e9a123e67ef22ca090bca28906 /ripngd/ripng_peer.c
parent528bed4a9a997216ba95e3ae445efa79436cc551 (diff)
* 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.
Diffstat (limited to 'ripngd/ripng_peer.c')
-rw-r--r--ripngd/ripng_peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_peer.c b/ripngd/ripng_peer.c
index bfbade50..34f5ac6c 100644
--- a/ripngd/ripng_peer.c
+++ b/ripngd/ripng_peer.c
@@ -197,7 +197,7 @@ ripng_peer_display (struct vty *vty)
for (ALL_LIST_ELEMENTS (peer_list, node, nnode, peer))
{
- vty_out (vty, " %s %s%14s %10d %10d %10d %s%s", inet6_ntoa (&peer->addr),
+ vty_out (vty, " %s %s%14s %10d %10d %10d %s%s", inet6_ntoa (peer->addr),
VTY_NEWLINE, " ",
peer->recv_badpackets, peer->recv_badroutes,
ZEBRA_RIPNG_DISTANCE_DEFAULT,