Rev3818, Fix peerPing cli command
This commit is contained in:
parent
276cbc0ace
commit
de41efbaf8
3 changed files with 4 additions and 3 deletions
|
@ -13,7 +13,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.6.4"
|
self.version = "0.6.4"
|
||||||
self.rev = 3817
|
self.rev = 3818
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.pending_changes = {}
|
self.pending_changes = {}
|
||||||
|
|
|
@ -86,9 +86,9 @@ class ConnectionServer(object):
|
||||||
self.log.info("No port found, not binding")
|
self.log.info("No port found, not binding")
|
||||||
return False
|
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)),
|
self.ip, self.port, ".".join(map(str, msgpack.version)),
|
||||||
CryptConnection.manager.crypt_supported, self.supported_ip_types
|
CryptConnection.manager.crypt_supported
|
||||||
))
|
))
|
||||||
try:
|
try:
|
||||||
self.stream_server = StreamServer(
|
self.stream_server = StreamServer(
|
||||||
|
|
|
@ -49,6 +49,7 @@ class FileServer(ConnectionServer):
|
||||||
config.saveValue("fileserver_port", port) # Save random port value for next restart
|
config.saveValue("fileserver_port", port) # Save random port value for next restart
|
||||||
|
|
||||||
ConnectionServer.__init__(self, ip, port, self.handleRequest)
|
ConnectionServer.__init__(self, ip, port, self.handleRequest)
|
||||||
|
self.log.debug("Supported IP types: %s" % self.supported_ip_types)
|
||||||
|
|
||||||
if ip_type == "dual" and ip == "::":
|
if ip_type == "dual" and ip == "::":
|
||||||
# Also bind to ipv4 addres in dual mode
|
# Also bind to ipv4 addres in dual mode
|
||||||
|
|
Loading…
Reference in a new issue