mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-10 08:46:40 +08:00
Current code does not correctly update ifoutoctets counter because nb->tot_len is always 0. Fix it by setting nb->tot_len to actual payload length so we can update ifoutoctets correctly. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Sylvain Rochet <gradator@gradator.net>