freebsd-dev/contrib/pf/pfctl
Bjoern A. Zeeb 38a253506a Add a new option -P to suppress getservbyport(3) calls when printing rules.
This allows one to force consistent printing of numeric port numbers like
we do with -n for other tools like netstat (just that -n was already taken)
rather than the service names.

-P is currently unused in OpenBSD so the change is eligible for upstreaming.

PR:		misc/151015
Submitted by:	Matt Koivisto (mkoivisto sandvine.com)
Sponsored by:	Sandvine Incorporated
MFC after:	1 week
2011-06-13 20:11:28 +00:00
..
parse.y Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
pf_print_state.c Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct 2009-12-24 00:43:44 +00:00
pfctl_altq.c
pfctl_optimize.c Add a new option -P to suppress getservbyport(3) calls when printing rules. 2011-06-13 20:11:28 +00:00
pfctl_osfp.c
pfctl_parser.c Add a new option -P to suppress getservbyport(3) calls when printing rules. 2011-06-13 20:11:28 +00:00
pfctl_parser.h Add a new option -P to suppress getservbyport(3) calls when printing rules. 2011-06-13 20:11:28 +00:00
pfctl_qstats.c
pfctl_radix.c
pfctl_table.c
pfctl.8 Add a new option -P to suppress getservbyport(3) calls when printing rules. 2011-06-13 20:11:28 +00:00
pfctl.c Add a new option -P to suppress getservbyport(3) calls when printing rules. 2011-06-13 20:11:28 +00:00
pfctl.h Commit resolved import of OpenBSD 4.1 pf userland from perforce. 2007-07-03 12:30:03 +00:00