Removed a stale comment. (We don't declare ip_len and ip_offset as

short.  I guess we depend on bogus ANSI value-preserving extension
of u_short to int to avoid unsigned comparison bugs.)
This commit is contained in:
Bruce Evans 1997-12-19 23:33:08 +00:00
parent 214279cec9
commit d342b533eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31881

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip.h 8.2 (Berkeley) 6/1/94
* $Id$
* $Id: ip.h,v 1.12 1997/02/22 09:41:31 peter Exp $
*/
#ifndef _NETINET_IP_H_
@ -45,10 +45,6 @@
/*
* Structure of an internet header, naked of options.
*
* We declare ip_len and ip_off to be short, rather than u_short
* pragmatically since otherwise unsigned comparisons can result
* against negative integers quite easily, and fail in subtle ways.
*/
struct ip {
#ifdef _IP_VHL