Received UDP packet was counted twice in statistics, first in udp_input and then again in udp_found.
Fix this to use same logic as in uip.c: valid packet is counted only in udp_found.
This commit is contained in:
parent
dbe074bdaf
commit
c1c64dd1cc
@ -1460,7 +1460,6 @@ uip_process(uint8_t flag)
|
||||
remove_ext_hdr();
|
||||
|
||||
PRINTF("Receiving UDP packet\n");
|
||||
UIP_STAT(++uip_stat.udp.recv);
|
||||
|
||||
/* UDP processing is really just a hack. We don't do anything to the
|
||||
UDP/IP headers, but let the UDP application do all the hard
|
||||
|
Loading…
Reference in New Issue
Block a user