Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 10:23:53 +1200
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Andre Oppermann <andre@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet tcp.h
Message-ID:  <20070524222353.GA30597@heff.fud.org.nz>
In-Reply-To: <200705231916.l4NJGLY4076073@repoman.freebsd.org>
References:  <200705231916.l4NJGLY4076073@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 23, 2007 at 07:16:21PM +0000, Andre Oppermann wrote:
> andre       2007-05-23 19:16:21 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/netinet          tcp.h 
>   Log:
>   Add CWR back into the PRINT_TH_FLAGS list as gcc42 doesn't complain
>   about \8 in a string anymore.
>   
>   Revision  Changes    Path
>   1.39      +1 -1      src/sys/netinet/tcp.h
> 
> - * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netinet/tcp.h,v 1.38 2007/05/18 19:58:37 andre Exp $
> + * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netinet/tcp.h,v 1.39 2007/05/23 19:16:21 andre Exp $
>   */
>  
>  #ifndef _NETINET_TCP_H_
> @@ -69,7 +69,7 @@ struct tcphdr {
>  #define	TH_ECE	0x40
>  #define	TH_CWR	0x80
>  #define	TH_FLAGS	(TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
> -#define	PRINT_TH_FLAGS	"\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE"
> +#define	PRINT_TH_FLAGS	"\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE\8CWR"

Shouldnt this be \10 instead of \8


Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070524222353.GA30597>