From 920aebac3dd0ea41565c2e91c0225475744949e2 Mon Sep 17 00:00:00 2001 From: Quinn Evans Date: Sat, 3 Oct 2015 13:49:17 -0600 Subject: [PATCH] Revert checking for AI_ADDRCONFIG. --- channel.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/channel.c b/channel.c index 47f1881..3063eec 100644 --- a/channel.c +++ b/channel.c @@ -9,7 +9,6 @@ #include #include - #define CELL_DIGITS 3 #define BUFFER_SIZE 999 /* @@ -127,11 +126,7 @@ void CHANNEL__OPEN(char *cobol_buffer, char *state) memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; -#ifdef AI_ADDRCONFIG hints.ai_flags = AI_ADDRCONFIG; -#else - hints.ai_flags = 0; -#endif if((status = getaddrinfo(msg_buf, port, &hints, &res))) { channel_string_to_cobol(cobol_buffer, gai_strerror(status)); channel_set_status(state, EBADDEST);