mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
igmplib: Fix a problem that querier stops sending a query message
When QUERY timeout expires, a variable for flooding is overwritten unexpectedly. So querier stops sending a query message any longer. This patch fixes the problem. Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
792c75c6a1
commit
f00952b0af
@ -353,7 +353,7 @@ class IgmpQuerier(IgmpBase):
|
||||
res_pkt.add_protocol(res_igmp)
|
||||
res_pkt.serialize()
|
||||
|
||||
actions = [parser.OFPActionOutput(ofproto.OFPP_FLOOD)]
|
||||
flood = [parser.OFPActionOutput(ofproto.OFPP_FLOOD)]
|
||||
|
||||
while True:
|
||||
# reset reply status.
|
||||
@ -363,7 +363,7 @@ class IgmpQuerier(IgmpBase):
|
||||
|
||||
# send a general query to the host that sent this message.
|
||||
self._do_packet_out(
|
||||
self._datapath, res_pkt.data, send_port, actions)
|
||||
self._datapath, res_pkt.data, send_port, flood)
|
||||
hub.sleep(igmp.QUERY_RESPONSE_INTERVAL)
|
||||
|
||||
# QUERY timeout expired.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user