Fix a typo in MLD query exponent processing.
Submitted by: rpaulo@ MFC after: 3 days
This commit is contained in:
parent
289ca95209
commit
b7d882304b
@ -833,7 +833,7 @@ mld_v2_input_query(struct ifnet *ifp, const struct ip6_hdr *ip6,
|
||||
mld = (struct mldv2_query *)(mtod(m, uint8_t *) + off);
|
||||
|
||||
maxdelay = ntohs(mld->mld_maxdelay); /* in 1/10ths of a second */
|
||||
if (maxdelay >= 32678) {
|
||||
if (maxdelay >= 32768) {
|
||||
maxdelay = (MLD_MRC_MANT(maxdelay) | 0x1000) <<
|
||||
(MLD_MRC_EXP(maxdelay) + 3);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user