diff options
-rw-r--r-- | ryu/services/protocols/bgp/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/services/protocols/bgp/base.py b/ryu/services/protocols/bgp/base.py index 616315f6..c5a302c5 100644 --- a/ryu/services/protocols/bgp/base.py +++ b/ryu/services/protocols/bgp/base.py @@ -384,8 +384,8 @@ class Activity(object): count += 1 else: - self._spawn(name, self._listen_socket_loop, - listen_sockets[sa], conn_handle) + server = self._spawn(name, self._listen_socket_loop, + listen_sockets[sa], conn_handle) return server, listen_sockets def _connect_tcp(self, peer_addr, conn_handler, time_out=None, |