mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Work around OpenBSD's overzealousness.
Requiring exactly the right size (ie, no bigger) for the address buffer is going a little too far.
This commit is contained in:
parent
f0b0a0f34f
commit
265ff06e8d
1 changed files with 3 additions and 2 deletions
|
@ -47,12 +47,13 @@
|
|||
*/
|
||||
//@{
|
||||
|
||||
//FIXME our code is not yet ready for anything but ipv4 addresses
|
||||
typedef union address {
|
||||
struct sockaddr_storage ss;
|
||||
// struct sockaddr_storage ss;
|
||||
struct sockaddr sa;
|
||||
struct sockaddr_in s4;
|
||||
#ifdef HAVE_IPV6
|
||||
struct sockaddr_in6 s6;
|
||||
// struct sockaddr_in6 s6;
|
||||
#endif
|
||||
} AF_address_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue