Log supported ip types when binding

This commit is contained in:
shortcutme 2019-01-20 16:18:48 +01:00
parent a5e63de016
commit f42d088fbc
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -84,10 +84,10 @@ class ConnectionServer(object):
self.log.info("No port found, not binding")
return False
self.log.debug("Binding to: %s:%s, (msgpack: %s), supported crypt: %s" % (
self.ip, self.port,
".".join(map(str, msgpack.version)), CryptConnection.manager.crypt_supported)
)
self.log.debug("Binding to: %s:%s, (msgpack: %s), supported crypt: %s, supported ip types: %s" % (
self.ip, self.port, ".".join(map(str, msgpack.version)),
CryptConnection.manager.crypt_supported, self.supported_ip_types
))
try:
self.pool = Pool(500) # do not accept more than 500 connections
self.stream_server = StreamServer(