summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2008-05-09 05:41:03 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2008-05-09 05:41:03 +0000
commitbda6c79c6118a8b96973eefec9bb095c9c668d3c (patch)
treef8fd4e1945a0ec89e34f3ba0df96d1e0147f6b76 /sbin/pfctl/pfctl_parser.c
parent02db58fa9d0c3680d164ba2017cdba712d977365 (diff)
convert port byte order in the production; add port keyword; ok deraadt@
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 932eb357b0f..2194b7a7a63 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.237 2008/05/09 02:44:55 markus Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.238 2008/05/09 05:41:01 markus Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -996,7 +996,7 @@ print_rule(struct pf_rule *r, const char *anchor_call, int verbose)
printf("?");
else
printf("%s", buf);
- printf(" %u", ntohs(r->divert.port));
+ printf(" port %u", ntohs(r->divert.port));
}
}
if (!anchor_call[0] && (r->action == PF_NAT ||