summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorMike Frantzen <frantzen@cvs.openbsd.org>2001-12-01 16:44:46 +0000
committerMike Frantzen <frantzen@cvs.openbsd.org>2001-12-01 16:44:46 +0000
commita8e1dd5a005b8a92d7a3a9daae2554785b6889c0 (patch)
tree0a23d6d7fd0d15c8d82ace882def7fd1d02f5254 /sbin/pfctl/pfctl_parser.c
parent5d1ea38c398ab0075b0b20d9bf6da4f538358135 (diff)
wipe print_nat()'s nose (use dnot correctly instead of snot). i need to start
naming variables 'bugger'. yes, thats what i'll do
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-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 78940146700..6a3853b3f1b 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.54 2001/11/26 16:50:26 jasoni Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.55 2001/12/01 16:44:45 frantzen Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -375,7 +375,7 @@ print_nat(struct pf_nat *n)
printf("any ");
printf("to ");
if (!PF_AZERO(&n->daddr, n->af) || !PF_AZERO(&n->dmask, n->af)) {
- if (n->snot)
+ if (n->dnot)
printf("! ");
print_addr(&n->daddr, &n->dmask, n->af);
printf(" ");