commit | 67de5a295c9f4693f0c65d69fed67a3618bee6dd | [log] [tgz] |
---|---|---|
author | Bertrand Jacquin <jacquinb@amazon.com> | Wed Dec 13 01:15:05 2017 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 20 07:04:07 2017 +0100 |
tree | 879eb27cfc6da70bfaf589e3ff6cc725ca6e5f0a | |
parent | 43a66a96b3d39157687b6d53c57f431a7f83cec5 [diff] |
MINOR: netscaler: check in one-shot if buffer is large enough for IP and TCP header There is minimal gain in checking first the IP header length and then the TCP header length since we always want to capture information about both protocols. IPv4 length calculation was incorrect since IPv4 ip_len actually defines the total length of IPv4 header and following data.