HomeFreeBSD

sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq

Description

sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq

The SIOCDIFADDR ioctl takes an ifreq structure object, not an ifaliasreq
structure object, as its argument.

Reviewed by: brooks, jhb, oshogbo
Approved by: oshogbo (mentor)
Obtained from: CheriBSD
Differential Revision: https://reviews.freebsd.org/D46017

Details

Provenance
defAuthored on Jun 28 2024, 10:28 AM
Reviewer
brooks
Differential Revision
D46017: sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq
Parents
rG5688843dc9c5: sys: Index netlink/ files with the cscope target
Branches
Unknown
Tags
Unknown