]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
As part of the general cleanup of the ipfilter code, special cases
authorcy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Dec 2018 01:49:06 +0000 (01:49 +0000)
committercy <cy@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Dec 2018 01:49:06 +0000 (01:49 +0000)
commit21a28366b750974ffe86443cd0d0d4587ba6ea24
tree08a1f55359c1c22b17440c61985f1c1476276700
parentaaa580f661635666a3a4cce6e109ef729ee944be
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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@341804 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/ipfilter/ip_fil.c