From eea0015e6dea695b196db327d473ab13f976936c Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Fri, 7 Jul 2000 21:05:55 +0000 Subject: [PATCH] One more EAI_NONAME -> EAI_NODATA issue. --- usr.bin/telnet/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index 3a726eefa725..12904b833c8e 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -2980,7 +2980,7 @@ sourceroute(ai, arg, cpp, lenp, protop, optp) hints.ai_flags = AI_NUMERICHOST; error = getaddrinfo(cp, NULL, &hints, &res); - if (error == EAI_NONAME) { + if (error == EAI_NODATA) { hints.ai_flags = 0; error = getaddrinfo(cp, NULL, &hints, &res); }