mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
net/: Run all .c files under net/ through tools/nxstyle and fix all resulting complaints.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
bb09471d63
commit
98f431d8d8
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* net/igmp/igmp_input.c
|
||||
*
|
||||
* Copyright (C) 2010, 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2010, 2014, 2020 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* The NuttX implementation of IGMP was inspired by the IGMP add-on for the
|
||||
@@ -245,7 +245,8 @@ void igmp_input(struct net_driver_s *dev)
|
||||
{
|
||||
ticks = net_dsec2tick((int)igmp->maxresp);
|
||||
|
||||
if (IS_IDLEMEMBER(group->flags) || igmp_cmptimer(group, ticks))
|
||||
if (IS_IDLEMEMBER(group->flags) ||
|
||||
igmp_cmptimer(group, ticks))
|
||||
{
|
||||
igmp_startticks(group, ticks);
|
||||
CLR_IDLEMEMBER(group->flags);
|
||||
@@ -261,7 +262,8 @@ void igmp_input(struct net_driver_s *dev)
|
||||
ninfo("Unicast query\n");
|
||||
IGMP_STATINCR(g_netstats.igmp.ucast_query);
|
||||
|
||||
ninfo("Query to a specific group with the group address as destination\n");
|
||||
ninfo("Query to a specific group with the group address as "
|
||||
"destination\n");
|
||||
|
||||
ticks = net_dsec2tick((int)igmp->maxresp);
|
||||
if (IS_IDLEMEMBER(group->flags) || igmp_cmptimer(group, ticks))
|
||||
|
||||
Reference in New Issue
Block a user