diff options
author | brian <brian@FreeBSD.org> | 1999-09-16 18:47:59 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-09-16 18:47:59 +0000 |
commit | 46ca602b1a85d77db37240e03b1926c909ace979 (patch) | |
tree | 497a1009902a3923ddee262b1d4ead5b14f5a2a6 /usr.sbin | |
parent | 02027682ef7177b3980a3af60c19ee3480aac35f (diff) | |
download | FreeBSD-src-46ca602b1a85d77db37240e03b1926c909ace979.zip FreeBSD-src-46ca602b1a85d77db37240e03b1926c909ace979.tar.gz |
Correct the return from FilterCheck for fragments
PR: 13771
Submitted by: Dean M. Phillips <dphill@inav.net>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index 6d8d8d8..f1219d0 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -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; |