summaryrefslogtreecommitdiffstats
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorhasso <hasso>2005-04-05 14:36:49 +0000
committerhasso <hasso>2005-04-05 14:36:49 +0000
commitb5ab9d2a6d79de4ed243042c330e8b9b5e9f79f3 (patch)
treeff94f2c0b5983b0652428aaed49d1cfcecaac3bb /lib/prefix.h
parentd25640dce0ed0fa9f80c82e27f87fa9f2114e68c (diff)
downloadquagga.pre.listloop.cleanup.tar.bz2
quagga.pre.listloop.cleanup.tar.xz
* lib/prefix.[hc]: inet6_ntoa utility function copied fromquagga.pre.listloop.cleanup
ripngd/ripngd.c (inet6_ntop). * ripngd.[hc]: Remove inet6_ntop() and any usage of it. inet6_ntoa() from lib is used now. * ripng_interface.c: inet6_ntop() -> inet6_ntoa(). * ripng_peer.c: inet6_ntop() -> inet6_ntoa().
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index 0546095b..7ef53473 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -173,6 +173,8 @@ int ip6_masklen (struct in6_addr);
void masklen2ip6 (int, struct in6_addr *);
void str2in6_addr (const char *, struct in6_addr *);
+const char *inet6_ntoa (struct in6_addr *);
+
#endif /* HAVE_IPV6 */
int all_digit (const char *);