bin/156653: ipfw(8) reports missing file as parameter problem

Jed Clear jclear at speakeasy.net
Wed Jun 29 02:30:13 UTC 2011


The following reply was made to PR bin/156653; it has been noted by GNATS.

From: Jed Clear <jclear at speakeasy.net>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/156653: ipfw(8) reports missing file as parameter problem
Date: Tue, 28 Jun 2011 21:58:29 -0400

 "ipfw -n -p cpp /path/to/missing_file" still works in 8.1 to generate =
 the misleading error message. (Assuming one doesn't have the file =
 /path/to/missing_file on ones system.)  The issue not that a missing =
 file caused an error, but why that is reported as "illegal option -- p" =
 instead of something like "no such file or directory".
 
 -Jed
 
 clear at net5501:~> ipfw -n -p cpp /path/to/missing_file
 ipfw: illegal option -- p
 ipfw: usage: ipfw [options]
 do "ipfw -h" or "man ipfw" for details
 clear at net5501:~> uname -a
 FreeBSD net5501 8.1-RELEASE-p4 FreeBSD 8.1-RELEASE-p4 #0: Sat May 28 =
 15:02:21 EDT 2011     =
 root at fbsdam3.my.domain:/usr/obj/nanobsd.custom/i386/usr/src/sys/JEDWALL  =
 i386
 clear at net5501:~>=20
 


More information about the freebsd-ipfw mailing list