mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
net/: More clean-up of spacing/alignment issues
This commit is contained in:
@@ -134,14 +134,14 @@ void igmp_input(struct net_driver_s *dev)
|
||||
|
||||
/* Calculate and check the IGMP checksum */
|
||||
|
||||
if (net_chksum((uint16_t*)&IGMPBUF->type, IGMP_HDRLEN) != 0)
|
||||
if (net_chksum((FAR uint16_t *)&IGMPBUF->type, IGMP_HDRLEN) != 0)
|
||||
{
|
||||
IGMP_STATINCR(g_netstats.igmp.chksum_errors);
|
||||
nlldbg("Checksum error\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Find the group (or create a new one) using the incoming IP address*/
|
||||
/* Find the group (or create a new one) using the incoming IP address */
|
||||
|
||||
destipaddr = net_ip4addr_conv32(IGMPBUF->destipaddr);
|
||||
group = igmp_grpallocfind(dev, &destipaddr);
|
||||
|
||||
Reference in New Issue
Block a user