fix broken ipv6 address field

This commit is contained in:
Bill Currie 2001-02-22 19:00:34 +00:00
parent 32c6b2be38
commit 4f7561fd92
1 changed files with 4 additions and 0 deletions

View File

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