Date: Mon, 13 Jun 2011 20:11:28 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/pf/pfctl pfctl.8 pfctl.c pfctl_optimize.c pfctl_parser.c pfctl_parser.h Message-ID: <201106132011.p5DKBmuo017019@repoman.freebsd.org>
index | next in thread | raw e-mail
bz 2011-06-13 20:11:28 UTC
FreeBSD src repository
Modified files:
contrib/pf/pfctl pfctl.8 pfctl.c pfctl_optimize.c
pfctl_parser.c pfctl_parser.h
Log:
SVN rev 223057 on 2011-06-13 20:11:28Z by bz
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
Revision Changes Path
1.4 +6 -2 src/contrib/pf/pfctl/pfctl.8
1.8 +11 -6 src/contrib/pf/pfctl/pfctl.c
1.4 +1 -1 src/contrib/pf/pfctl/pfctl_optimize.c
1.10 +14 -9 src/contrib/pf/pfctl/pfctl_parser.c
1.8 +2 -1 src/contrib/pf/pfctl/pfctl_parser.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106132011.p5DKBmuo017019>
