From ede9bb1bfe216f1e21c5e05fc1c97b115b2e29a5 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 25 May 2026 12:07:15 +0400 Subject: [PATCH] Add comment for double nat --- storage/utils/natsimulation.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/storage/utils/natsimulation.nim b/storage/utils/natsimulation.nim index 04dc370b..79c965ec 100644 --- a/storage/utils/natsimulation.nim +++ b/storage/utils/natsimulation.nim @@ -50,7 +50,9 @@ proc setFiltering*(r: NatRouter, filtering: FilteringBehavior) = proc allowInbound(r: NatRouter, remote: TransportAddress, localPort: Port): bool = case r.filtering of DoubleNat: - return false # always blocks: simulates a scenario where inbound connections are never possible + return + false + # always blocks: simulates a scenario where inbound connections are never possible of EndpointIndependent: return true else: