Browse Source

Fix bug in ipv6 to string conversion

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent
commit
aee63756a0
  1. 1
      src/utils.c

1
src/utils.c

@ -480,6 +480,7 @@ GString *sockaddr_to_string(sock_addr *saddr, GString *dest, gboolean showport)
ipv6_tostring(dest, saddr->ipv6.sin6_addr.s6_addr);
if (showport) g_string_append_printf(dest, ":%u", (unsigned int) ntohs(saddr->ipv6.sin6_port));
break;
#endif
#ifdef HAVE_SYS_UN_H
case AF_UNIX:

Loading…
Cancel
Save