Skip to content
  • OleksandrKvl's avatar
    pcapparse: Fix handling of TCP payload length · 130d0966
    OleksandrKvl authored and Sebastian Dröge's avatar Sebastian Dröge committed
    The length of the  TCP payload is the IP plus TCP header length
    subtracted from the IP datagram length specified in the IP header.
    Prior to this, the size was calculated incorrectly, considering
    all data after TCP header as a payload till the end of a packet.
    
    Fixes #995
    130d0966