Bug 44284

Summary: /etc/rc.d/ipnat does not properly call 'err' in absense of ipfilter module
Product: Base System Reporter: Sergey Mokryshev <mokr>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sergey Mokryshev 2002-10-19 23:10:01 UTC
	/etc/rc.d/ipnat miss first argument (error code) while calling 
	'err' routine from /etc/rc.subr

How-To-Repeat: 	echo 'ipfilter_enable="NO"' >>/etc/rc.conf
	echo 'ipnat_enable="YES"' >>/etc/rc.conf
	(remove options IPFILTER from kernel configuration if it is there and recompile kernel)
	reboot
	examine console output, there should be

	Oct 20 01:05:11 amber kernel: /etc/rc: ERROR:
	Oct 20 01:05:11 amber kernel: exit: Illegal number: ipnat
Comment 1 Bill Fenner freebsd_committer freebsd_triage 2002-10-26 01:19:15 UTC
State Changed
From-To: open->closed

Committed, thanks!