Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 02:30:12 GMT
From:      Jed Clear <jclear@speakeasy.net>
To:        freebsd-ipfw@FreeBSD.org
Subject:   Re: bin/156653: ipfw(8) reports missing file as parameter problem
Message-ID:  <201106290230.p5T2UCKX089410@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/156653; it has been noted by GNATS.

From: Jed Clear <jclear@speakeasy.net>
To: bug-followup@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@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@net5501:~> uname -a
 FreeBSD net5501 8.1-RELEASE-p4 FreeBSD 8.1-RELEASE-p4 #0: Sat May 28 =
 15:02:21 EDT 2011     =
 root@fbsdam3.my.domain:/usr/obj/nanobsd.custom/i386/usr/src/sys/JEDWALL  =
 i386
 clear@net5501:~>=20
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106290230.p5T2UCKX089410>