diff options
author | bde <bde@FreeBSD.org> | 1997-12-19 23:33:08 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-12-19 23:33:08 +0000 |
commit | 1c88036d0120472bdb2e0d7e87bf56cfd27def72 (patch) | |
tree | 4194726717018a0bf6e68da3d005b729a3dc54a4 /sys/netinet/ip.h | |
parent | 640984579698bf942e20dff816aa4b0a0c3d9ee7 (diff) | |
download | FreeBSD-src-1c88036d0120472bdb2e0d7e87bf56cfd27def72.zip FreeBSD-src-1c88036d0120472bdb2e0d7e87bf56cfd27def72.tar.gz |
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.)
Diffstat (limited to 'sys/netinet/ip.h')
-rw-r--r-- | sys/netinet/ip.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 2474b85..705d21b 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -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 |