Author: tjansen Date: Wed Oct 28 12:19:57 2009 New Revision: 1364 Log: Removed unused function dump_ipv6_addr. Modified: trunk/include/socket.h trunk/libpisa/socket.c Modified: trunk/include/socket.h ============================================================================== --- trunk/include/socket.h Tue Oct 27 18:35:20 2009 (r1363) +++ trunk/include/socket.h Wed Oct 28 12:19:57 2009 (r1364) @@ -23,6 +23,5 @@ int setup_listen_sock_udp(int domain, int portnumber); int setup_sock_udp(int domain); -void dump_ipv6_addr(struct in6_addr *sa6); #endif /* PISA_SOCKET_H */ Modified: trunk/libpisa/socket.c ============================================================================== --- trunk/libpisa/socket.c Tue Oct 27 18:35:20 2009 (r1363) +++ trunk/libpisa/socket.c Wed Oct 28 12:19:57 2009 (r1364) @@ -88,16 +88,3 @@ return fd_local; } - -/** - * Dump IPv6 address in string format - * - * @param sa6 IPv6 address - */ -void dump_ipv6_addr(struct in6_addr *sa6) -{ - char pbuffer[INET6_ADDRSTRLEN]; - - inet_ntop(AF_INET6, sa6, pbuffer, INET6_ADDRSTRLEN); - PISA_DEBUG("IPv6 address = %s.\n", pbuffer); -}