Skip to content
Commit 0616c267 authored by Jaakko Hannikainen's avatar Jaakko Hannikainen Committed by Jukka Rissanen
Browse files

net: initialize ip_buf_len when receiving packet



When udp_packet_receive is called, ip_buf_len is set 4 bytes too big.
This ends up with the client program receiving 4 bytes more than the
board actually received. Initialize it correctly alongside other values.

Change-Id: I0012aa7e8c6a440a618dfa03c4fdc2b898d592fc
Signed-off-by: default avatarJaakko Hannikainen <jaakko.hannikainen@intel.com>
parent 70afc2c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment