2
0
Fork 0

Fix bug in ipv6 to string conversion

This commit is contained in:
Stefan Bühler 2009-04-02 22:29:09 +02:00
parent f44f620eda
commit aee63756a0
1 changed files with 1 additions and 0 deletions

View File

@ -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: