Merge pull request #452 from AriZuu/uip6-udp-stats-twice-fix
Received UDP packet was counted twice in statistics, first in udp_input ...
This commit is contained in:
commit
5f7b75d660
|
@ -1460,7 +1460,6 @@ uip_process(uint8_t flag)
|
||||||
remove_ext_hdr();
|
remove_ext_hdr();
|
||||||
|
|
||||||
PRINTF("Receiving UDP packet\n");
|
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 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
|
UDP/IP headers, but let the UDP application do all the hard
|
||||||
|
|
Loading…
Reference in a new issue