net/mld: Fix report repitition counter. One send one less reported than required.
This commit is contained in:
parent
0b933ea900
commit
65c74f5444
@ -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 */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user