Fix -4 option when IPv6 disabled
When IPv6 is disabled, hints_ai_family is set to AF_INET at initialization, resulting in the error "can't specify both -4 and -6" if the -4 option is supplied. If there's no IPv6, make the -4 option a no-op.pull/154/head
parent
12961d59ec
commit
509f5a59cb
Loading…
Reference in New Issue