unit-tests: Don't fail host_create_from_dns() test if IPv6 not supported
authorMartin Willi <martin@revosec.ch>
Mon, 2 Mar 2015 13:05:44 +0000 (14:05 +0100)
committerMartin Willi <martin@revosec.ch>
Mon, 2 Mar 2015 13:05:44 +0000 (14:05 +0100)
commit53013b5f0c50de177cac7932e341771e0aa41d2a
treef92df984d0128ddfbfcf800b8339bd039e42de75
parentfaafaf35f4b087182d0cfeebfcfb222ddc092cb5
unit-tests: Don't fail host_create_from_dns() test if IPv6 not supported

On some systems, such as the Ubuntu daily build machine, localhost does not
resolve to an IPv6 address. Accept such a lookup failure.
src/libstrongswan/tests/suites/test_host.c