diff options
author | danny <danny@FreeBSD.org> | 1998-05-15 12:38:07 +0000 |
---|---|---|
committer | danny <danny@FreeBSD.org> | 1998-05-15 12:38:07 +0000 |
commit | 1cc49ca9720289ad79a51eb64747d405a1840ceb (patch) | |
tree | 3a83dd566459af2b9f334d8130b78e26dffd356e /sbin/ipfw | |
parent | 232e685ed64ecccf056974157dd9085ca2d9c8ce (diff) | |
download | FreeBSD-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.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw.c | 4 |
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 |