diff options
author | ume <ume@FreeBSD.org> | 2000-07-07 21:05:55 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-07-07 21:05:55 +0000 |
commit | e1b6a23cbca30184b5ca77b05037496c9dba5b75 (patch) | |
tree | 8745a27b845fc62f54ab6ef1bc7c464b9b62ab9f /usr.bin/telnet | |
parent | 4dac3268003aae25607fb71da3f443aec60ba669 (diff) | |
download | FreeBSD-src-e1b6a23cbca30184b5ca77b05037496c9dba5b75.zip FreeBSD-src-e1b6a23cbca30184b5ca77b05037496c9dba5b75.tar.gz |
One more EAI_NONAME -> EAI_NODATA issue.
Diffstat (limited to 'usr.bin/telnet')
-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 3a726ee..12904b8 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); } |