HomeFreeBSD

ipfilter: Avoid more null if-then-else blocks

Description

ipfilter: Avoid more null if-then-else blocks

As in 73db3b64f167, when WITHOUT_INET6 is selected, null if-then-else
blocks are generated because #if statements are incorrectly placed.
Moving the #if statements reduces unnecessary runtime comparisons or
compiler optimizations.

MFC after: 3 days

Details

Provenance
cyAuthored on Oct 20 2021, 3:11 AM
Parents
rG1ca73c39a547: ipfilter: Correct a comment and add notation
Branches
Unknown
Tags
Unknown