summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ip.c2
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;
OpenPOWER on IntegriCloud