net: apps: Fix ip buf application data length

ip_buf_appdatalen is not set while sending buffer.

Fixes: RTOS-1562

Change-Id: Id423ba5898b9b405d0ca027a74a06a19708841fe
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
Ravi kumar Veeramally 2016-06-09 10:36:57 +03:00 committed by Jukka Rissanen
commit 5d98ba37f6

View file

@ -203,6 +203,7 @@ void fiber_sender(void)
sent_len = buf->len;
header_size = ip_buf_reserve(buf);
data_len = sent_len - header_size;
ip_buf_appdatalen(buf) = data_len;
PRINT("[%d] %s: App data: %d bytes, IPv6+UDP: %d bytes, "
"Total packet size: %d bytes\n",