Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Bernd Ernesti <veego@netbsd.org>
List: source-changes
Date: 08/12/2000 11:08:56
Module Name:	syssrc
Committed By:	veego
Date:		Sat Aug 12 08:08:55 UTC 2000

Modified Files:
	syssrc/sys/netinet: ip_nat.c

Log Message:
Apply fix from IWAMOTO Toshihiro in pr#10813:
 rev 1.35 of ip_nat.c checks if packets are too short.
 For ICMP packets, this packet length checking double counts
 the length of an IP header contained in ICMP messages.
 So, unless ICMP packets are long enough (such as echo-reply),
 packets are mistakingly considered too short and are dropped.


To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 syssrc/sys/netinet/ip_nat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.