diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-07-05 21:39:30 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-07-05 21:39:30 +0000 |
commit | efd60adfaed74eed1f28af2fee62cd7341e662ce (patch) | |
tree | ef83366d9f586f3b5eeeaacd8079cd80e1059f06 /sys/net/pf.c | |
parent | b2496852b9f1e7427b7a22c38e620786a7706900 (diff) |
initalize fragment correctly
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 0df1440c13a..7219bac3993 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.98 2001/07/04 20:00:38 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.99 2001/07/05 21:39:29 provos Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -2408,6 +2408,7 @@ pf_reassemble(struct mbuf **m0, struct pf_fragment *frag, } frag->fr_flags = 0; + frag->fr_max = 0; frag->fr_src = frent->fr_ip->ip_src; frag->fr_dst = frent->fr_ip->ip_dst; frag->fr_p = frent->fr_ip->ip_p; |