memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_flags = 0;
rc = getaddrinfo("127.0.0.1", NULL, &hints, &res);
assert_int_equal(rc, 0);
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_flags = 0;
rc = getaddrinfo("maximegalon.galaxy.site", NULL, &hints, &res);
assert_int_equal(rc, 0);
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_flags = 0;
rc = getaddrinfo("MAGRATHEA", NULL, &hints, &res);
assert_int_equal(rc, 0);
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
- hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_flags = 0;
rc = getaddrinfo("magrathea", "wurst", &hints, &res);
assert_int_equal(rc, EAI_SERVICE);
hints.ai_family = AF_INET6;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = 17;
- hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_flags = 0;
rc = getaddrinfo(NULL, NULL, &hints, &res);
assert_int_equal(rc, EAI_NONAME);