ipv6 bugfix

This commit is contained in:
mengskysama 2014-09-19 17:46:12 +08:00
parent 7c991e9d7f
commit efdf6ac5ef

View file

@ -82,10 +82,10 @@ class ServerPool(object):
def server_run_status(self, port):
if 'server' in self.config:
if port not self.tcp_servers_pool:
if port not in self.tcp_servers_pool:
return False
if 'server_ipv6' in self.config:
if port not self.tcp_ipv6_servers_pool:
if port not in self.tcp_ipv6_servers_pool:
return False
return True