net: uip: Fix compile fail with stats enabled, tcp disabled.
Add missing preprocessor conditional around statistics update. Change-Id: I3e55b1512e913b2e9a60d0ab56264439ca417a23 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
8a574fdd67
commit
b92d10d879
1 changed files with 2 additions and 0 deletions
|
@ -2175,7 +2175,9 @@ uip_process(struct net_buf **buf_out, uint8_t flag)
|
|||
BUF(buf)->ipchksum = ~(uip_ipchksum(buf));
|
||||
PRINTF("uip ip_send_nolen: chkecum 0x%04x\n", uip_ipchksum(buf));
|
||||
#endif /* NETSTACK_CONF_WITH_IPV6 */
|
||||
#if UIP_TCP
|
||||
UIP_STAT(++uip_stat.tcp.sent);
|
||||
#endif
|
||||
#if NETSTACK_CONF_WITH_IPV6
|
||||
send:
|
||||
#endif /* NETSTACK_CONF_WITH_IPV6 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue