mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
Clean-up naming associated with network checksums
This commit is contained in:
@@ -133,7 +133,7 @@ void igmp_input(struct net_driver_s *dev)
|
||||
|
||||
/* Calculate and check the IGMP checksum */
|
||||
|
||||
if (uip_chksum((uint16_t*)&IGMPBUF->type, UIP_IGMPH_LEN) != 0)
|
||||
if (net_chksum((uint16_t*)&IGMPBUF->type, UIP_IGMPH_LEN) != 0)
|
||||
{
|
||||
IGMP_STATINCR(g_netstats.igmp.chksum_errors);
|
||||
nlldbg("Checksum error\n");
|
||||
|
||||
Reference in New Issue
Block a user