Rev3818, Fix peerPing cli command

This commit is contained in:
shortcutme 2019-01-26 03:13:47 +01:00
parent 276cbc0ace
commit de41efbaf8
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 4 additions and 3 deletions

View file

@ -13,7 +13,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.6.4"
self.rev = 3817
self.rev = 3818
self.argv = argv
self.action = None
self.pending_changes = {}

View file

@ -86,9 +86,9 @@ 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, supported ip types: %s" % (
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.supported_ip_types
CryptConnection.manager.crypt_supported
))
try:
self.stream_server = StreamServer(

View file

@ -49,6 +49,7 @@ class FileServer(ConnectionServer):
config.saveValue("fileserver_port", port) # Save random port value for next restart
ConnectionServer.__init__(self, ip, port, self.handleRequest)
self.log.debug("Supported IP types: %s" % self.supported_ip_types)
if ip_type == "dual" and ip == "::":
# Also bind to ipv4 addres in dual mode