mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed missing origin for update entries
This commit is contained in:
parent
af21b1292f
commit
1b4720b293
2 changed files with 3 additions and 3 deletions
|
@ -445,7 +445,7 @@ class MeshRouter():
|
|||
if destination in item[1] and "PING" in item[3]:
|
||||
# reset attempts if entry exists and it failed or is acknowledged
|
||||
attempt = 0 if item[6] in ["failed", "acknowledged"] else item[5]
|
||||
update_entry = [item[0], destination, "", "PING", "",attempt, status]
|
||||
update_entry = [item[0], destination, origin, "PING", "",attempt, status]
|
||||
#print(f"UPDATE {MESH_SIGNALLING_TABLE[_]} >>> {update_entry}")
|
||||
|
||||
self.log.info(f"[MESH] [SIGNALLING TABLE] [UPDATE]: {MESH_SIGNALLING_TABLE[_]} >>> ", update=update_entry)
|
||||
|
@ -474,7 +474,7 @@ class MeshRouter():
|
|||
if destination in item[1] and item[3] in ["PING", "PING-ACK"]:
|
||||
# reset attempts if entry exists and it failed or is acknowledged
|
||||
attempt = 0 if item[6] in ["failed", "acknowledged"] else item[5]
|
||||
update_entry = [item[0], destination, "", "PING-ACK", "", attempt, status]
|
||||
update_entry = [item[0], destination, origin, "PING-ACK", "", attempt, status]
|
||||
#print(f"UPDATE {MESH_SIGNALLING_TABLE[_]} >>> {update_entry}")
|
||||
self.log.info(f"[MESH] [SIGNALLING TABLE] [UPDATE]: {MESH_SIGNALLING_TABLE[_]} >>> ", update=update_entry)
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ class TCIParam:
|
|||
|
||||
@dataclass
|
||||
class TNC:
|
||||
version = "0.10.1-alpha.1"
|
||||
version = "0.10.1-alpha.2"
|
||||
host: str = "0.0.0.0"
|
||||
port: int = 3000
|
||||
SOCKET_TIMEOUT: int = 1 # seconds
|
||||
|
|
Loading…
Reference in a new issue