HomeFreeBSD

wtap(4): Rename interface name

Description

wtap(4): Rename interface name

The original interface created by wtap is named "wlan%d", which is the
same as the name of the vap created by wlan(4) and cause ifconfig(8)
may output like this:

wlan0:
        parent interface: wlan0

Rename the interface created by wtap(4) to "wtap%d" to avoid confusing.

Reviewed by: adrian
Sponsored by: Google, Inc. (GSoC 2022)
Differential Revision: https://reviews.freebsd.org/D35751

Details

Provenance
En-Wei Wu <enweiwu@FreeBSD.org>Authored on Jul 8 2022, 5:29 PM
lwhsuCommitted on Jul 8 2022, 5:29 PM
Reviewer
adrian
Differential Revision
D35751: wtap(4): Rename physical interface
Parents
rG0a7fa9d11b20: zfs: fix powerpc64le build
Branches
Unknown
Tags
Unknown