diff options
author | bms <bms@FreeBSD.org> | 2009-04-04 15:26:32 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-04-04 15:26:32 +0000 |
commit | b8d7b83e60ca996de5011a38220cc06453f67a26 (patch) | |
tree | 96dc23051ebfc8be9d812094b5b71907c8573a28 /sys/netinet | |
parent | ec888841ec127e18d54b8ef4c4e280190c1245cc (diff) | |
download | FreeBSD-src-b8d7b83e60ca996de5011a38220cc06453f67a26.zip FreeBSD-src-b8d7b83e60ca996de5011a38220cc06453f67a26.tar.gz |
Do not obliterate QQI with MAXRESP.
Found during MLDv2 port.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/igmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 1488a72..e9da57a 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -1004,8 +1004,8 @@ igmp_input_v3_query(struct ifnet *ifp, const struct ip *ip, qqi = igmpv3->igmp_qqi; if (qqi >= 128) { - maxresp = IGMP_MANT(igmpv3->igmp_qqi) << - (IGMP_EXP(igmpv3->igmp_qqi) + 3); + qqi = IGMP_MANT(igmpv3->igmp_qqi) << + (IGMP_EXP(igmpv3->igmp_qqi) + 3); } timer = maxresp * PR_FASTHZ / IGMP_TIMER_SCALE; |