net: contiki: Fix compiling with ipv4
ip_buf_sent_status is only available for TCP, but uip_send_udp is only called for UDP. Remove the else block. Change-Id: I9695b33f975042ec15fde718d91ab901617437f2 Signed-off-by: Jaakko Hannikainen <jaakko.hannikainen@intel.com>
This commit is contained in:
parent
0616c2679b
commit
51e517c08b
1 changed files with 0 additions and 2 deletions
|
@ -2269,8 +2269,6 @@ uip_send_udp(struct net_buf *buf, const void *data, int len)
|
|||
if (!ret) {
|
||||
PRINTF("Packet %p sending failed.\n", buf);
|
||||
ip_buf_unref(buf);
|
||||
} else {
|
||||
ip_buf_sent_status(buf) = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue