mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-27 21:09:28 +00:00
Update records and spr even if the mapping does not exist when dial back is none
This commit is contained in:
parent
5cc057f04b
commit
b7dcf87d3f
@ -161,9 +161,11 @@ method handleNatStatus*(
|
||||
|
||||
if dialBackAddr.isNone:
|
||||
warn "Got empty dialback address in AutoNat when node is NotReachable"
|
||||
|
||||
if m.tcpMappingId.isSome and m.udpMappingId.isSome:
|
||||
m.close()
|
||||
discovery.updateRecordsAndSpr(@[], udpPort = discoveryPort)
|
||||
|
||||
discovery.updateRecordsAndSpr(@[], udpPort = discoveryPort)
|
||||
elif m.tcpMappingId.isSome and m.udpMappingId.isSome:
|
||||
warn "Not Reachable with active port mapping. The port mapping will be deleted and relay will start."
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user