commit | f282a124375580ff8b1bc2aeb96fb6162bf8fd9a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 17 13:33:05 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 21 10:38:29 2016 +0200 |
tree | f267a7f9c21953cd73f2cf5df221a2a752fc7554 | |
parent | e1b4e62efadb86b93d9b5bcc21348901cfb6d0e3 [diff] |
slhttpd: use the packet length from the IP header, not from the driver The packet length indicated by the driver designates anything that follows the L2 header (so it may include padding), which is different from what may be found in the IP header for short packets. Thus only use the IP header.