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:
Bill Currie 2011-08-26 11:14:51 +03:00
parent f0b0a0f34f
commit 265ff06e8d

View file

@ -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;