mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-19 18:20:52 +00:00
pad field renamed in preparation for multiple address families. Also, don't rely on int being 32 bits.
This commit is contained in:
parent
52dfc473fc
commit
5162359857
1 changed files with 2 additions and 2 deletions
|
@ -53,12 +53,12 @@ struct qsockaddr
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
unsigned int ip[4];
|
u_int32_t ip[4];
|
||||||
#else
|
#else
|
||||||
byte ip[4];
|
byte ip[4];
|
||||||
#endif
|
#endif
|
||||||
unsigned short port;
|
unsigned short port;
|
||||||
unsigned short pad;
|
unsigned short family; // used to be pad, before IPV6
|
||||||
} netadr_t;
|
} netadr_t;
|
||||||
|
|
||||||
extern netadr_t net_local_adr;
|
extern netadr_t net_local_adr;
|
||||||
|
|
Loading…
Reference in a new issue