summaryrefslogtreecommitdiff
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-26 16:09:34 +0000
committerhasso <hasso>2004-09-26 16:09:34 +0000
commitc9e52be3f4d98943b67fbbe5d9a7ccd823b88326 (patch)
treed4045a946af3be8bbdc303162778e8c44057e2f9 /zebra/rtadv.c
parente473b032b860444b9656cee1654b0120f77b52b1 (diff)
Compiler warnings fixes.
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 4bab03bf..e5a026e6 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1110,7 +1110,7 @@ rtadv_config_write (struct vty *vty, struct interface *ifp)
rprefix = getdata (node);
vty_out (vty, " ipv6 nd prefix %s/%d",
inet_ntop (AF_INET6, &rprefix->prefix.u.prefix6,
- buf, INET6_ADDRSTRLEN),
+ (char *) buf, INET6_ADDRSTRLEN),
rprefix->prefix.prefixlen);
if ((rprefix->AdvValidLifetime != RTADV_VALID_LIFETIME) ||
(rprefix->AdvPreferredLifetime != RTADV_PREFERRED_LIFETIME))