mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-31 12:34:19 -04:00
Remove null byte from abstract socket name
This commit is contained in:
parent
fa31dced22
commit
6dc33126a5
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ class LocalServerInterface(Interface):
|
||||||
if from_spawned: self.oa_freq_deque.append(time.time())
|
if from_spawned: self.oa_freq_deque.append(time.time())
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self.socket_path: return "Shared Instance["+str(self.socket_path)+"]"
|
if self.socket_path: return "Shared Instance["+str(self.socket_path.replace("\0", ""))+"]"
|
||||||
else: return "Shared Instance["+str(self.bind_port)+"]"
|
else: return "Shared Instance["+str(self.bind_port)+"]"
|
||||||
|
|
||||||
class LocalInterfaceHandler(socketserver.BaseRequestHandler):
|
class LocalInterfaceHandler(socketserver.BaseRequestHandler):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue