Date: Fri, 15 May 1998 08:02:39 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/6641: ipfw ignores -q when doing "ipfw -q zero 1234" Message-ID: <199805150602.IAA27469@internal>
next in thread | raw e-mail | index | archive | help
>Number: 6641
>Category: bin
>Synopsis: ipfw ignores -q when doing "ipfw -q zero 1234"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 14 23:00:00 PDT 1998
>Last-Modified:
>Originator: Andre Albsmeier
>Organization:
>Release: FreeBSD 2.2.6-STABLE i386
>Environment:
2.2-STABLE
>Description:
When using the -q option, ipfw ignores it when zeroing a rule.
>How-To-Repeat:
Simply do it: ipfw -q zero 100
>Fix:
*** ipfw.c.ORI Fri May 15 07:46:56 1998
--- ipfw.c Fri May 15 07:47:38 1998
***************
*** 1131,1137 ****
"IP_FW_ZERO");
failed = 1;
}
! else
printf("Entry %d cleared\n",
rule.fw_number);
} else
--- 1131,1137 ----
"IP_FW_ZERO");
failed = 1;
}
! else if (!do_quiet)
printf("Entry %d cleared\n",
rule.fw_number);
} else
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805150602.IAA27469>
