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 <[email protected]> --- ryu/lib/igmplib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/lib/igmplib.py b/ryu/lib/igmplib.py index 1171da3..9b3dc49 100644 --- a/ryu/lib/igmplib.py +++ b/ryu/lib/igmplib.py @@ -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. -- 1.7.10.4 ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees_APR _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
