summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanny <danny@FreeBSD.org>1998-05-15 12:38:07 +0000
committerdanny <danny@FreeBSD.org>1998-05-15 12:38:07 +0000
commit1cc49ca9720289ad79a51eb64747d405a1840ceb (patch)
tree3a83dd566459af2b9f334d8130b78e26dffd356e
parent232e685ed64ecccf056974157dd9085ca2d9c8ce (diff)
downloadFreeBSD-src-1cc49ca9720289ad79a51eb64747d405a1840ceb.zip
FreeBSD-src-1cc49ca9720289ad79a51eb64747d405a1840ceb.tar.gz
PR: 6641
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Make -q work for zeroing a specific rule.
-rw-r--r--sbin/ipfw/ipfw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c
index 22407e6..6e9a686 100644
--- a/sbin/ipfw/ipfw.c
+++ b/sbin/ipfw/ipfw.c
@@ -16,7 +16,7 @@
*
* NEW command line interface for IP firewall facility
*
- * $Id: ipfw.c,v 1.55 1998/03/13 02:31:21 alex Exp $
+ * $Id: ipfw.c,v 1.56 1998/04/22 06:20:20 phk Exp $
*
*/
@@ -1152,7 +1152,7 @@ zero (ac, av)
"IP_FW_ZERO");
failed = EX_UNAVAILABLE;
}
- else
+ else if (!do_quiet)
printf("Entry %d cleared\n",
rule.fw_number);
} else
OpenPOWER on IntegriCloud