disable compiling with ipv6 support
see commit before
This commit is contained in:
parent
c0b1458acc
commit
2350f98aed
2 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NO_IPV6
|
#ifndef NO_IPV6
|
||||||
#define HAVE_IPV6
|
#define HAVE_IPV6
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,11 @@ typedef union
|
||||||
struct msg_server_t
|
struct msg_server_t
|
||||||
{
|
{
|
||||||
msg_header_t header;
|
msg_header_t header;
|
||||||
|
#ifndef HAVE_IPV6
|
||||||
char ip[16];
|
char ip[16];
|
||||||
//char ip[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"];
|
#else
|
||||||
|
char ip[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"];
|
||||||
|
#endif
|
||||||
char port[8];
|
char port[8];
|
||||||
char contact[32];
|
char contact[32];
|
||||||
char version[8]; // format is: x.yy.z (like 1.30.2 or 1.31)
|
char version[8]; // format is: x.yy.z (like 1.30.2 or 1.31)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue