Bug 29185

Summary: ipfw doesn't confirm icmptypes correctly
Product: Base System Reporter: Mike Durian <durian>
Component: binAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mike Durian 2001-07-24 02:40:01 UTC
	When you add an ipfw rule that contains an icmptypes constraint,
	ipfw does not echo the icmptype value correctly.  Instead,
	it echo's the index of the unsigned integer containing the bit
	mask.  It should instead echo (index * sizeof(unsigned) * 8) +
	bit offset.

	I believe the rule itself is being instantiated correctly.

How-To-Repeat: 	ipfw add allow icmp from any to any icmptypes 0,8
Comment 1 ru freebsd_committer freebsd_triage 2001-08-06 13:59:34 UTC
State Changed
From-To: open->closed

Applied, thanks! 


Comment 2 ru freebsd_committer freebsd_triage 2001-08-06 13:59:34 UTC
Responsible Changed
From-To: freebsd-bugs->ru