mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 21:12:27 +00:00
fix broken ipv6 address field
This commit is contained in:
parent
32c6b2be38
commit
4f7561fd92
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue