Revert "Try both v4 and v6 socket types"
commit33ac24851e2c7333e28f07c4ae7b76a253bcdfd5
authorTed Percival <ted.percival@quest.com>
Fri, 4 Dec 2009 20:39:53 +0000 (4 13:39 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Tue, 8 Dec 2009 02:43:01 +0000 (7 18:43 -0800)
tree52056e0a8b5a5b1e3e71070aa4ebd6f42e7b87bb
parent25a8a452f200eda05a4da345ffa840004345fff7
Revert "Try both v4 and v6 socket types"

It broke detection of IPv4 addresses on HP-UX machines with an IPv6
loopback address. Successful resolution of at least one IPv6 address
would then skip doing a separate IPv4 lookup as required by HP-UX.

This reverts commit 76afc31e9ba2f37e64c70adc006ade9e37e9ef73.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
lib/roken/getifaddrs.c