diff options
author | Klement Sekera <klement.sekera@gmail.com> | 2024-10-23 19:05:17 +0200 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-10-23 20:58:15 +0000 |
commit | 602d11019bf76e8f4ad73b4b928bbf4ac3becfdc (patch) | |
tree | bc4b9313daab7f1849d93b7508d50fe838e448c0 /src/plugins/vmxnet3/vmxnet3.h | |
parent | 3d5670302755ffab3907826cd5afd31e411c1b87 (diff) |
ip: fix port extraction
Replace a hard-coded constant of 64 with 56, which is a more appropriate
value for when ICMP echo request is returned in ICMP error. Previously,
the size of such message would be smaller than 64 and parsing would not
return the correct value.
Type: fix
Change-Id: I1bdf8a2a23b1e6762b64210c71927c926f4547ad
Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Diffstat (limited to 'src/plugins/vmxnet3/vmxnet3.h')
0 files changed, 0 insertions, 0 deletions