Hello
|
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len; |
the old code here would read :
uint16_t ip_payload_len = ip_len - ip_header_len;
it was changed to:
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;
but the new codes just ignores the header information.
In our use case, there are 2 to 6 paddings bytes at the end of the IP data packet, introduce by some hardware device.
Please revert the code.
Regards
Hello
tcpflow/src/tcpdemux.cpp
Line 748 in 6fd956d
the old code here would read :
uint16_t ip_payload_len = ip_len - ip_header_len;
it was changed to:
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;
but the new codes just ignores the header information.
In our use case, there are 2 to 6 paddings bytes at the end of the IP data packet, introduce by some hardware device.
Please revert the code.
Regards