diff options
author | alex <alex@FreeBSD.org> | 1998-03-13 02:31:21 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1998-03-13 02:31:21 +0000 |
commit | 11293893068c9e743b9a16fe3d7ce39ba500e823 (patch) | |
tree | 9f020a08fc7280be4a759e43a7ad5e9e4cf32129 | |
parent | 92beba7e5708cd83011488517265f1d023937522 (diff) | |
download | FreeBSD-src-11293893068c9e743b9a16fe3d7ce39ba500e823.zip FreeBSD-src-11293893068c9e743b9a16fe3d7ce39ba500e823.tar.gz |
Get the arguments to show_usage right (like the MFC'ed code in -stable).
Submitted by: bde
-rw-r--r-- | sbin/ipfw/ipfw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index 5663ed7..d143d67 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.53 1998/01/08 03:03:50 alex Exp $ + * $Id: ipfw.c,v 1.54 1998/02/12 00:57:06 alex Exp $ * */ @@ -1111,10 +1111,10 @@ badviacombo: /* frag may not be used in conjunction with ports or TCP flags */ if (rule.fw_flg & IP_FW_F_FRAG) { if (rule.fw_tcpf || rule.fw_tcpnf) - show_usage(EX_USAGE, "can't mix 'frag' and tcpflags"); + show_usage("can't mix 'frag' and tcpflags"); if (rule.fw_nports) - show_usage(EX_USAGE, "can't mix 'frag' and port specifications"); + show_usage("can't mix 'frag' and port specifications"); } if (!do_quiet) |