mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
Correct the return from FilterCheck for fragments
PR: 13771 Submitted by: Dean M. Phillips <dphill@inav.net>
This commit is contained in:
parent
52a57daa0d
commit
4d9d17fe7d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51333
|
@ -121,7 +121,7 @@ FilterCheck(const struct ip *pip, const struct filter *filter)
|
|||
if (len < (24 >> 3)) /* don't allow fragment to over-write header */
|
||||
return (1);
|
||||
/* permit fragments on in and out filter */
|
||||
return (filter->fragok);
|
||||
return (!filter->fragok);
|
||||
}
|
||||
|
||||
cproto = gotinfo = estab = syn = finrst = didname = 0;
|
||||
|
|
Loading…
Reference in a new issue