libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not defined
commit185cd4c79492a7de5988f9407d764cdb3a0e2e10
authorSimo Sorce <idra@samba.org>
Wed, 11 May 2011 21:50:07 +0000 (11 17:50 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 10 Aug 2011 16:14:02 +0000 (10 18:14 +0200)
tree11a50fb6796c1b4412d0e51ce8e48a7e4fde411d
parente0dc3aa5b61a779b51d4444101e79aefd6b8026e
libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not defined

This flag prevents startup w/o ip addresses assigned to any interface.
If AI_NUMERIC is passed it should be safe to avoid it.

Signed-off-by: Andreas Schneider <asn@samba.org>
lib/util/util_net.c