diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2019-06-30 22:32:33 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2019-06-30 22:32:33 +0000 |
| commit | 23cfb1b256e56849a0685f7a1dbd901f4998a91d (patch) | |
| tree | a0ebcf0f9f87f878173e91c6de7468ee2e7b7c33 /sys/contrib/ipfilter | |
| parent | a9a131902d6496e49c70dc5d655e7696fde2778d (diff) | |
Notes
Diffstat (limited to 'sys/contrib/ipfilter')
| -rw-r--r-- | sys/contrib/ipfilter/netinet/fil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c index 15f157b8ca8db..dc6a3be5d12dd 100644 --- a/sys/contrib/ipfilter/netinet/fil.c +++ b/sys/contrib/ipfilter/netinet/fil.c @@ -1723,15 +1723,15 @@ ipf_pr_ipv4hdr(fin) * calculate the byte offset that it represents. */ off &= IP_MF|IP_OFFMASK; - if (off == 1 && p == IPPROTO_TCP) { - fin->fin_flx |= FI_SHORT; /* RFC 3128 */ - DT1(ipf_fi_tcp_frag_off_1, fr_info_t *, fin); - } if (off != 0) { int morefrag = off & IP_MF; fi->fi_flx |= FI_FRAG; off &= IP_OFFMASK; + if (off == 1 && p == IPPROTO_TCP) { + fin->fin_flx |= FI_SHORT; /* RFC 3128 */ + DT1(ipf_fi_tcp_frag_off_1, fr_info_t *, fin); + } if (off != 0) { fin->fin_flx |= FI_FRAGBODY; off <<= 3; |
