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:
parent
c78a5a9aae
commit
5d98ba37f6
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue