From 46ca602b1a85d77db37240e03b1926c909ace979 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 16 Sep 1999 18:47:59 +0000 Subject: Correct the return from FilterCheck for fragments PR: 13771 Submitted by: Dean M. Phillips --- usr.sbin/ppp/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1