diff options
Diffstat (limited to 'src/core/network.h')
-rw-r--r-- | src/core/network.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/network.h b/src/core/network.h index 38484665..159bda3e 100644 --- a/src/core/network.h +++ b/src/core/network.h @@ -7,7 +7,7 @@ # include <netinet/in.h> #endif -struct _ipaddr { +struct _IPADDR { unsigned short family; union { #ifdef HAVE_IPV6 @@ -18,8 +18,6 @@ struct _ipaddr { } addr; }; -typedef struct _ipaddr IPADDR; - /* maxmimum string length of IP address */ #ifdef HAVE_IPV6 # define MAX_IP_LEN INET6_ADDRSTRLEN |