Commit f098a0c4 authored by Ulysse Beaugnon's avatar Ulysse Beaugnon

solving a bug

parent 7152bb0d
......@@ -4,11 +4,6 @@ Bug :
To be done :
Test the package
check the ips attributed
remove decalre
how do we make sure that none inject some false packets ?
how do we make sur that noone is declaring too much false nodes ?
---------------------------------------------------------------------------------
Put more information in the token mail ( registry ), such as :
......
......@@ -23,8 +23,8 @@ class PeerManager:
self.tunnel_manager = None
self.sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
self.sock.bind((self._internal_ip, 326))
self.socket_file = self._sock.makefile()
self.sock.bind(('::', 326))
self.socket_file = self.sock.makefile()
logging.info('Connecting to peers database...')
self._db = sqlite3.connect(db_path, isolation_level=None)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment