From 29872fc003ae7d14783186a6c91fbacc31c74f00 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 10 Jun 2024 17:58:19 -0400 Subject: [PATCH] check if local address exists --- libi2pd/SSU2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/SSU2.cpp b/libi2pd/SSU2.cpp index d2107030..107c5ef7 100644 --- a/libi2pd/SSU2.cpp +++ b/libi2pd/SSU2.cpp @@ -814,7 +814,7 @@ namespace transport { relayTag = introducer.iTag; addr = address->IsV6 () ? r->GetSSU2V6Address () : r->GetSSU2V4Address (); - if (!addr->host.is_unspecified () && addr->port && + if (addr && !addr->host.is_unspecified () && addr->port && !i2p::transport::transports.IsInReservedRange(addr->host)) break; else