diff options
Diffstat (limited to 'src/core/network.h')
-rw-r--r-- | src/core/network.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/network.h b/src/core/network.h index f414beff..0697c4c8 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -17,13 +17,11 @@ struct _IPADDR { unsigned short family; - union { #ifdef HAVE_IPV6 - struct in6_addr ip6; + struct in6_addr ip; #else - struct in_addr ip; + struct in_addr ip; #endif - } addr; }; /* maxmimum string length of IP address */ |