summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-02-13 10:28:58 +0000
committerhenning <henning@openbsd.org>2003-02-13 10:28:58 +0000
commit11bd659029244c8f654db49e03ff6b8d592482ff (patch)
tree2da12e46d46c86f2067671e59379fad85802186e
parentease the yacc a bit by using a "not" rule instead of having two rules w/ and (diff)
downloadwireguard-openbsd-11bd659029244c8f654db49e03ff6b8d592482ff.tar.xz
wireguard-openbsd-11bd659029244c8f654db49e03ff6b8d592482ff.zip
when complaining about an illegal netmask print the value we're complaining
about
-rw-r--r--sbin/pfctl/pfctl_parser.c4
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);
}
}