Skip to content

Commit

Permalink
ActiveProxy: fixed display domain bug (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuit authored Sep 7, 2023
1 parent aa9e386 commit 75d730b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/addons/activeproxy/activeproxy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,12 @@ void ActiveProxy::announcePeer() noexcept
log->info("Announce peer {} : {}", peer.value().getId().toBase58String(),
peer.value().toString());

log->info("-**- ActiveProxy: server: {}, port: {}, domain: {} -**- ",
serverHost, peer.value().getPort(), domainName);
if (peer.value().hasAlternativeURL())
log->info("-**- ActiveProxy: server: {}, port: {}, domain: {} -**-",
serverHost, peer.value().getPort(), peer.value().getAlternativeURL());
else
log->info("-**- ActiveProxy: server: {}, port: {} -**-",
serverHost, peer.value().getPort());

node->announcePeer(peer.value());
}
Expand Down

0 comments on commit 75d730b

Please sign in to comment.