aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-05-15 11:58:03 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-05-15 11:58:03 +0000
commitf5504b009d447f55a9dc50b7d13f336635489df6 (patch)
treefa2440d16f71abad6643f34d2fb655e9764fc248 /usr.bin/telnet
parent84fbd1c727167283d0cfd0aac2b9d431cfbecdce (diff)
downloadsrc-f5504b009d447f55a9dc50b7d13f336635489df6.tar.gz
src-f5504b009d447f55a9dc50b7d13f336635489df6.zip
Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
Notes
Notes: svn path=/head/; revision=8533
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r--usr.bin/telnet/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 1f158a49d2fe..e28b3f8d72c6 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -2234,7 +2234,7 @@ tn(argc, argv)
tos = tp->t_tos;
# endif
if (tos < 0)
- tos = 020; /* Low Delay bit */
+ tos = IPTOS_LOWDELAY;
if (tos
&& (setsockopt(net, IPPROTO_IP, IP_TOS,
(char *)&tos, sizeof(int)) < 0)