summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-04-05 22:26:02 +0000
committerbrooks <brooks@FreeBSD.org>2005-04-05 22:26:02 +0000
commit151bf3aeda01f38eac0a40377e1ef6bba0c8831f (patch)
treea86889d182727e1d253e9fdaef6d877d4be3ecaf /sbin
parentc6535773a61b71479de8b8c912f43cf86291d8b5 (diff)
downloadFreeBSD-src-151bf3aeda01f38eac0a40377e1ef6bba0c8831f.zip
FreeBSD-src-151bf3aeda01f38eac0a40377e1ef6bba0c8831f.tar.gz
Be more specific when complaining about bit masks.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index c495c3a..4e60e5b 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -2592,12 +2592,12 @@ config_pipe(int ac, char **av)
else if (p16 != NULL) {
if (a > 0xFFFF)
errx(EX_DATAERR,
- "mask: must be 16 bit");
+ "port mask must be 16 bit");
*p16 = (uint16_t)a;
} else {
if (a > 0xFF)
errx(EX_DATAERR,
- "mask: must be 8 bit");
+ "proto mask must be 8 bit");
p.fs.flow_mask.proto = (uint8_t)a;
}
if (a != 0)
OpenPOWER on IntegriCloud