diff options
author | des <des@FreeBSD.org> | 2007-04-11 19:11:54 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-04-11 19:11:54 +0000 |
commit | 260758a2633a1a134568cd1fee6b90fdf00a0082 (patch) | |
tree | be8b8580e7b48dc9b339de0cae7913fed7c72fad /usr.bin/finger/net.c | |
parent | 974e289f938f4a64fe4a795987caa3ceb7bbbab2 (diff) | |
download | FreeBSD-src-260758a2633a1a134568cd1fee6b90fdf00a0082.zip FreeBSD-src-260758a2633a1a134568cd1fee6b90fdf00a0082.tar.gz |
Remove T/TCP support, and the -T option which was needed to disable it.
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/finger/net.c')
-rw-r--r-- | usr.bin/finger/net.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 2bd35ad..5260a2d 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -144,13 +144,7 @@ do_protocol(const char *name, const struct addrinfo *ai) iov[msg.msg_iovlen].iov_base = neteol; iov[msg.msg_iovlen++].iov_len = 2; - /* - * -T disables data-on-SYN: compatibility option to finger broken - * hosts. Also, the implicit-open API is broken on IPv6, so do - * the explicit connect there, too. - */ - if ((Tflag || ai->ai_addr->sa_family == AF_INET6) - && connect(s, ai->ai_addr, ai->ai_addrlen) < 0) { + if (connect(s, ai->ai_addr, ai->ai_addrlen) < 0) { warn("connect"); close(s); return -1; |