Merge pull request #134 from Polynomial-C/v4.1_diable-ipv6_fix

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

@ -687,7 +687,11 @@ int main(int argc, char** argv)
/* validate various option settings */
if (socket4 < 0 && socket6 < 0) {
if (socket4 < 0
#ifdef IPV6
&& socket6 < 0
#endif
) {
crash_and_burn("can't create socket (must run as root?)");
}

Loading…
Cancel
Save