Date: Thu, 28 Jun 2012 23:45:37 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r237735 - head/sys/netinet6 Message-ID: <201206282345.q5SNjbjL005524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bms Date: Thu Jun 28 23:45:37 2012 New Revision: 237735 URL: http://svn.freebsd.org/changeset/base/237735 Log: Fix a typo in MLD query exponent processing. Submitted by: rpaulo@ MFC after: 3 days Modified: head/sys/netinet6/mld6.c Modified: head/sys/netinet6/mld6.c ============================================================================== --- head/sys/netinet6/mld6.c Thu Jun 28 23:44:47 2012 (r237734) +++ head/sys/netinet6/mld6.c Thu Jun 28 23:45:37 2012 (r237735) @@ -833,7 +833,7 @@ mld_v2_input_query(struct ifnet *ifp, co 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206282345.q5SNjbjL005524>