fix broken ipv6 address field

This commit is contained in:
Bill Currie 2001-02-22 19:00:34 +00:00
parent 3d35af018f
commit 07ae0ed92c

View file

@ -37,7 +37,11 @@
typedef struct
{
#ifdef HAVE_IPV6
byte ip[16];
#else
byte ip[4];
#endif
unsigned short port;
unsigned short family; // used to be pad, before IPV6
} netadr_t;