From 61d84dd4c10469a557475ad08a953e37728abb12 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 30 May 2019 17:48:49 -0400 Subject: [PATCH] publish/unpublish NTCP2 address depending on network status --- libi2pd/RouterContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/RouterContext.h b/libi2pd/RouterContext.h index ed9c41b0..e680eff8 100644 --- a/libi2pd/RouterContext.h +++ b/libi2pd/RouterContext.h @@ -79,7 +79,7 @@ namespace i2p void UpdatePort (int port); // called from Daemon void UpdateAddress (const boost::asio::ip::address& host); // called from SSU or Daemon - void PublishNTCP2Address (int port, bool publish = true); + void PublishNTCP2Address (int port, bool publish = true, bool v4only = false); void UpdateNTCP2Address (bool enable); void PublishNTCPAddress (bool publish, bool v4only = true); bool AddIntroducer (const i2p::data::RouterInfo::Introducer& introducer);