From owner-cvs-all Tue Apr 21 23:21:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26013 for cvs-all-outgoing; Tue, 21 Apr 1998 23:21:15 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA26008; Wed, 22 Apr 1998 06:21:12 GMT (envelope-from phk@FreeBSD.org) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA04208; Tue, 21 Apr 1998 23:20:22 -0700 (PDT) Date: Tue, 21 Apr 1998 23:20:22 -0700 (PDT) Message-Id: <199804220620.XAA04208@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ipfw ipfw.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 Revision Changes Path 1.56 +5 -1 src/sbin/ipfw/ipfw.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message