diff options
author | cjc <cjc@FreeBSD.org> | 2002-05-01 06:29:16 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2002-05-01 06:29:16 +0000 |
commit | 6b0c9026c6322f63603f8716a3da2bcf9ca230b6 (patch) | |
tree | 57c6a5e5a59c5e67d936cafb4d00efbc59d40f9e /sys/netinet/ip_fw.c | |
parent | 7b6f84310a6bb3411a131c01ba2e7b01e558752c (diff) | |
download | FreeBSD-src-6b0c9026c6322f63603f8716a3da2bcf9ca230b6.zip FreeBSD-src-6b0c9026c6322f63603f8716a3da2bcf9ca230b6.tar.gz |
Enlighten those who read the FINE POINTS of the documentation a bit
more on how ipfw(8) deals with tiny fragments. While we're at it, add
a quick log message to even let people know we dropped a packet. (Note
that the second FINE POINT is somewhat redundant given the first, but
since the code is there, leave the docs for it.)
MFC after: 1 day
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r-- | sys/netinet/ip_fw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 744e2da..e552e1d 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -1470,8 +1470,12 @@ check_ports: break; bogusfrag: - if (fw_verbose && ip != NULL) - ipfw_report(NULL, ip, offset, ip_len, rif, oif); + if (fw_verbose) { + if (ip != NULL) + ipfw_report(NULL, ip, offset, ip_len, rif, oif); + else + printf("pullup failed\n"); + } goto dropit; } |