summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2018-12-21 11:16:04 +0000
committerkn <kn@openbsd.org>2018-12-21 11:16:04 +0000
commit822e89265096e6cde5fdcb8f2aa57b9fd5729503 (patch)
treec2e31a159f9942466b0b970194f3bbaf1e6d835e
parentAdd support for {preinit,init,fini}_array sections in static binaries (diff)
downloadwireguard-openbsd-822e89265096e6cde5fdcb8f2aa57b9fd5729503.tar.xz
wireguard-openbsd-822e89265096e6cde5fdcb8f2aa57b9fd5729503.zip
DIOCIGETIFACES provides interfaces and groups, not drivers
"driver" is a left-over from earlier implementations. Nowadays each driver such as lo(4) has it's respective interface group of the same name ("lo"), but additional driver-independent groups exist, too: # ifconfig lo0 group foo # pfctl -s I -i foo foo lo0 OK henning
-rw-r--r--sbin/pfctl/pfctl.86
-rw-r--r--share/man/man4/pf.48
2 files changed, 7 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 98b4edf8aa8..672d610f8c0 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pfctl.8,v 1.172 2018/09/18 12:55:19 kn Exp $
+.\" $OpenBSD: pfctl.8,v 1.173 2018/12/21 11:16:04 kn Exp $
.\"
.\" Copyright (c) 2001 Kjell Wooding. All rights reserved.
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 18 2018 $
+.Dd $Mdocdate: December 21 2018 $
.Dt PFCTL 8
.Os
.Sh NAME
@@ -392,7 +392,7 @@ Show the list of tables.
.It Fl s Cm osfp
Show the list of operating system fingerprints.
.It Fl s Cm Interfaces
-Show the list of interfaces and interface drivers available to PF.
+Show the list of interfaces and interface groups available to PF.
When used together with
.Fl v ,
it additionally lists which interfaces have skip rules activated.
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index 16875b1c603..46f88ade1ec 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.4,v 1.89 2017/10/12 14:39:24 jmc Exp $
+.\" $OpenBSD: pf.4,v 1.90 2018/12/21 11:16:04 kn Exp $
.\"
.\" Copyright (C) 2001, Kjell Wooding. All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 12 2017 $
+.Dd $Mdocdate: December 21 2018 $
.Dt PF 4
.Os
.Sh NAME
@@ -916,7 +916,7 @@ will be set to the length of the buffer actually used.
.It Dv DIOCCLRSRCNODES
Clear the tree of source tracking nodes.
.It Dv DIOCIGETIFACES Fa "struct pfioc_iface *io"
-Get the list of interfaces and interface drivers known to
+Get the list of interfaces and interface groups known to
.Nm .
All the ioctls that manipulate interfaces
use the same structure described below:
@@ -933,7 +933,7 @@ struct pfioc_iface {
.Pp
If not empty,
.Va pfiio_name
-can be used to restrict the search to a specific interface or driver.
+can be used to restrict the search to a specific interface or group.
.Va pfiio_buffer[pfiio_size]
is the user-supplied buffer for returning the data.
On entry,