diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-13 10:28:59 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-13 10:28:59 +0000 |
commit | 48f646adaacd6c7b2c7cef7e75e5e55d8d34002a (patch) | |
tree | 896265cc2aebae3e94fb7280fbab5960ddd46a90 /sbin | |
parent | 43a3714c73d1e66f1ab13dead1c27b2351ae2d89 (diff) |
when complaining about an illegal netmask print the value we're complaining
about
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index f26ffc83ba4..d68605b1e09 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.142 2003/02/12 12:48:40 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.143 2003/02/13 10:28:58 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1154,7 +1154,7 @@ host(const char *s, int mask) err(1, "host: asprintf"); v4mask = v6mask = mask; } else { - fprintf(stderr, "illegal mask\n"); + fprintf(stderr, "illegal mask %d\n", mask); return (NULL); } } |