mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 05:14:27 +08:00
net/mld: Fix report repitition counter. One send one less reported than required.
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ struct mld_group_s
|
||||
uint8_t ifindex; /* Interface index */
|
||||
uint8_t flags; /* See MLD_ flags definitions */
|
||||
uint8_t msgtype; /* Pending message type to send (if non-zero) */
|
||||
uint8_t count; /* Report repetition count */
|
||||
uint8_t count; /* Reports remaining in repetition count */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
+1
-1
@@ -149,7 +149,7 @@ static void mld_polldog_work(FAR void *arg)
|
||||
* then terminate the start-up sequence.
|
||||
*/
|
||||
|
||||
if (group->count > 1)
|
||||
if (group->count > 0)
|
||||
{
|
||||
/* Decrement the count and restart the timer */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user