diff options
author | dg <dg@FreeBSD.org> | 1995-05-15 11:58:03 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-05-15 11:58:03 +0000 |
commit | 94d8622ac07d946c7a4b87d240cf95baada83158 (patch) | |
tree | fa2440d16f71abad6643f34d2fb655e9764fc248 /usr.bin/telnet | |
parent | c643e3acd9013c5cf4c2b0e3976d702c5558a6dc (diff) | |
download | FreeBSD-src-94d8622ac07d946c7a4b87d240cf95baada83158.zip FreeBSD-src-94d8622ac07d946c7a4b87d240cf95baada83158.tar.gz |
Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
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 1f158a4..e28b3f8 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) |