diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-07-07 21:05:55 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-07-07 21:05:55 +0000 |
| commit | eea0015e6dea695b196db327d473ab13f976936c (patch) | |
| tree | ea039da7bc65af3b2aebd9fd38d91a6f7a42d069 | |
| parent | 2aaae1eaf7083e17460bae4c8f41e2bd67b45b45 (diff) | |
Notes
| -rw-r--r-- | usr.bin/telnet/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
