riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
197 stars 157 forks source link

socktap: fix packet size in TcpLink #206

Closed fysch closed 7 months ago

fysch commented 7 months ago

When the router forwards a packet, the packet is duplicated and therefore a link layer is already present. In this case, the packet-size calculation would count the link layer twice.

riebl commented 7 months ago

Thanks, I have squashed your PR and merged it per 711e424e.