From d342b533eb3bef84bd8d4d8e0b3c240ca077c9db Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 19 Dec 1997 23:33:08 +0000 Subject: [PATCH] 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.) --- sys/netinet/ip.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 2474b857624..705d21bd4f1 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