mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 23:28:57 +00:00
Fix a misspelled constant in tcp_input.c.
On Tue, 09 May 1995 04:35:27 PDT, Richard Stevens wrote: > In tcp_dooptions() under the case TCPOPT_CC there is an assignment > > to->to_flag |= TCPOPT_CC; > > that should be > > to->to_flag |= TOF_CC; > > I haven't thought through the ramifications of what's been happening ... > > Rich Stevens Submitted by: rstevens@noao.edu (Richard Stevens)
This commit is contained in:
parent
2d9d0204f7
commit
40db8ef747
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8377
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)tcp_input.c 8.5 (Berkeley) 4/10/94
|
||||
* $Id: tcp_input.c,v 1.21 1995/04/10 17:37:46 davidg Exp $
|
||||
* $Id: tcp_input.c,v 1.22 1995/05/03 07:16:52 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef TUBA_INCLUDE
|
||||
@ -1704,7 +1704,7 @@ tcp_dooptions(tp, cp, cnt, ti, to)
|
||||
case TCPOPT_CC:
|
||||
if (optlen != TCPOLEN_CC)
|
||||
continue;
|
||||
to->to_flag |= TCPOPT_CC;
|
||||
to->to_flag |= TOF_CC;
|
||||
bcopy((char *)cp + 2,
|
||||
(char *)&to->to_cc, sizeof(to->to_cc));
|
||||
NTOHL(to->to_cc);
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)tcp_input.c 8.5 (Berkeley) 4/10/94
|
||||
* $Id: tcp_input.c,v 1.21 1995/04/10 17:37:46 davidg Exp $
|
||||
* $Id: tcp_input.c,v 1.22 1995/05/03 07:16:52 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef TUBA_INCLUDE
|
||||
@ -1704,7 +1704,7 @@ tcp_dooptions(tp, cp, cnt, ti, to)
|
||||
case TCPOPT_CC:
|
||||
if (optlen != TCPOLEN_CC)
|
||||
continue;
|
||||
to->to_flag |= TCPOPT_CC;
|
||||
to->to_flag |= TOF_CC;
|
||||
bcopy((char *)cp + 2,
|
||||
(char *)&to->to_cc, sizeof(to->to_cc));
|
||||
NTOHL(to->to_cc);
|
||||
|
Loading…
Reference in New Issue
Block a user