HomeFreeBSD

net80211: simplify an #ifdef INET/INET6 block

Description

net80211: simplify an #ifdef INET/INET6 block

I got lost in the #ifdef #endif here so I changed the code to a
switch block with two non-overlapping #ifdef parts and a default
which makes it a lot easier to read.

No functional changes.

Sponsored by: The FreeBSD Foundation
Reviewed by: (zlei.huang gmail.com)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D36411

Details

Provenance
bzAuthored on Aug 31 2022, 10:35 PM
Differential Revision
D36411: net80211: simplify an #ifdef INET/INET6 block
Parents
rG5f3ec44e7e9c: bsdinstall(8) hostname: Update for bsddialog 0.3
Branches
Unknown
Tags
Unknown