]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
As part of the general cleanup of the ipfilter code, special cases
authorcy <cy@FreeBSD.org>
Tue, 4 Dec 2018 06:11:04 +0000 (06:11 +0000)
committercy <cy@FreeBSD.org>
Tue, 4 Dec 2018 06:11:04 +0000 (06:11 +0000)
commitd07109aadcb56c6aabc5f578146cd9806170bdeb
tree46c0fd1d24442a405bc94b765bf15715bd0abb77
parentef0472302eb5b918de4648230c760038a2a0c4e8
As part of the general cleanup of the ipfilter code, special cases
are committed separately to document fixing them separately from
the general cleanup. In this case we don't want to hide the utter
brokenness of what is being fixed.

Clean up a discombobulated block of #if's, with one block unreachable.
ip_fil.c is used in ipftest which is used to dry-run test ipfilter
rules in userspace without loading them in the kernel. The call to
(*ifp->if_output) matches that in the FreeBSD kernel.

Further testing and work will be required to make ipftest fully
functional.

MFC after: 1 week
contrib/ipfilter/ip_fil.c