due to fdce89a0, _listen_tcp returns tuple.

Signed-off-by: ISHIDA Wataru <[email protected]>
---
  ryu/services/protocols/bgp/net_ctrl.py |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ryu/services/protocols/bgp/net_ctrl.py 
b/ryu/services/protocols/bgp/net_ctrl.py
index 47cf9d7..fec29ee 100644
--- a/ryu/services/protocols/bgp/net_ctrl.py
+++ b/ryu/services/protocols/bgp/net_ctrl.py
@@ -336,7 +336,8 @@ class _NetworkController(FlexinetPeer, Activity):
          sock_addr = (apgw_rpc_bind_ip, apgw_rpc_bind_port)
          LOG.debug('NetworkController started listening for connections...')

-        server_thread = self._listen_tcp(sock_addr, self._start_rpc_session)
+        server_thread, socket = self._listen_tcp(sock_addr,
+                                                 self._start_rpc_session)
          self.pause(0)
          server_thread.wait()

-- 
1.7.10.4




------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to