Correct the return from FilterCheck for fragments

PR:		13771
Submitted by:	Dean M. Phillips <dphill@inav.net>
This commit is contained in:
Brian Somers 1999-09-16 18:47:59 +00:00
parent 52a57daa0d
commit 4d9d17fe7d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51333

View file

@ -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;