HomeFreeBSD

usr.sbin/ppp: correct SIOCDIFADDR{,_IN6} calls to use {,in6_}ifreq

Description

usr.sbin/ppp: correct SIOCDIFADDR{,_IN6} calls to use {,in6_}ifreq

The SIOCDIFADDR{,_IN6} ioctls take an ifreq structure object, not an
ifaliasreq structure object, as their argument.

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

Details

Provenance
defAuthored on Jun 28 2024, 10:29 AM
Reviewer
brooks
Differential Revision
D46018: usr.sbin/ppp: correct SIOCDIFADDR{,_IN6} calls to use {,in6_}ifreq
Parents
rGbb8fa2ef83c9: sbin/nos-tun: correct SIOCDIFADDR calls to use ifreq
Branches
Unknown
Tags
Unknown