net/mld: Fix a few compilation problems that cropped up in a different network configuration. Fix a logic error in setting the 'Other Querier Present' timer. Various cosmetic improvements.

This commit is contained in:
Gregory Nutt
2018-11-07 18:21:21 -06:00
parent 68e45d0453
commit 9c3e65f15f
9 changed files with 28 additions and 21 deletions
+2 -1
View File
@@ -593,7 +593,8 @@ bool net_ipv6addr_maskcmp(const net_ipv6addr_t addr1,
*
* An IPv6 multicast address is an identifier for a group of interfaces
* (typically on different nodes). An interface may belong to any number
* of multicast groups. Multicast addresses have the following format:
* of multicast groups. Multicast addresses have the following format
* (in host order):
*
* | 8 | 4 | 4 | 112 bits |
* +------ -+----+----+---------------------------------------------+
+1 -1
View File
@@ -106,7 +106,7 @@ struct net_stats_s
struct igmp_stats_s igmp; /* IGMP statistics */
#endif
#ifdef CONFIG_NET_IGMP
#ifdef CONFIG_NET_MLD
struct mld_stats_s mld; /* MLD statistics */
#endif