Date: Tue, 21 Apr 1998 23:20:22 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ipfw ipfw.c Message-ID: <199804220620.XAA04208@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1998/04/21 23:20:22 PDT
Modified files:
sbin/ipfw ipfw.c
Log:
When ipfw reads its rules from an input file, the optind variable is
not reinitialized to 1 after calling getopt. This results in parsing
errors on all but the first rule. An added patch also allows '#'
comments at the end of a line.
PR: 6379
Reviewed by: phk
Submitted by: Neal Fachan <kneel@ishiboo.com>
Revision Changes Path
1.56 +5 -1 src/sbin/ipfw/ipfw.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804220620.XAA04208>
