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
@ -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…
x
Reference in New Issue
Block a user