Merge pull request #187 from Polynomial-C/disable-ipv6_build_fix

Fix build with --disable-ipv6
pull/193/head
David Schweikert 5 years ago committed by GitHub
commit c7437d8f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -258,12 +258,12 @@ HOST_ENTRY* ev_last;
char* prog;
int ident4 = 0; /* our icmp identity field */
int ident6 = 0;
int socket4 = -1;
int using_sock_dgram4 = 0;
#ifndef IPV6
int hints_ai_family = AF_INET;
#else
int ident6 = 0;
int socket6 = -1;
int hints_ai_family = AF_UNSPEC;
#endif

Loading…
Cancel
Save