diff options
author | dd <dd@FreeBSD.org> | 2002-10-02 00:29:34 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-10-02 00:29:34 +0000 |
commit | 9c9f69c519678216eea52bfde4be14400044f4dc (patch) | |
tree | 6ade7ba2906f90fa2641412c399a99b943b3e6da /usr.bin | |
parent | f5801700f44a8478aa0fbddd285bab7ae2385f70 (diff) | |
download | FreeBSD-src-9c9f69c519678216eea52bfde4be14400044f4dc.zip FreeBSD-src-9c9f69c519678216eea52bfde4be14400044f4dc.tar.gz |
Merge from crypto telnet: permit the argument to -s to be a hostname.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/telnet/commands.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index 59adb16..90da71d 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -1980,7 +1980,6 @@ tn(int argc, char *argv[]) if (src_addr != NULL) { memset(&hints, 0, sizeof(hints)); - hints.ai_flags = AI_NUMERICHOST; hints.ai_family = family; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo(src_addr, 0, &hints, &src_res); |