[pisa-src] r1364 - in trunk: include/socket.h libpisa/socket.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 28 Oct 2009 12:19:58 +0100

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);
-}

Other related posts:

  • » [pisa-src] r1364 - in trunk: include/socket.h libpisa/socket.c - Thomas Jansen