|
|
@ -35,8 +35,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
namespace i2p |
|
|
|
namespace i2p |
|
|
|
{ |
|
|
|
{ |
|
|
|
namespace util |
|
|
|
namespace util |
|
|
|
{ |
|
|
|
{ |
|
|
|
class Daemon_Singleton::Daemon_Singleton_Private |
|
|
|
class Daemon_Singleton::Daemon_Singleton_Private |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
@ -200,6 +200,7 @@ namespace i2p |
|
|
|
if (ygg) |
|
|
|
if (ygg) |
|
|
|
i2p::context.UpdateNTCP2V6Address (yggaddr); |
|
|
|
i2p::context.UpdateNTCP2V6Address (yggaddr); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
i2p::context.PublishNTCP2Address (port, false); // unpublish
|
|
|
|
i2p::context.PublishNTCP2Address (port, false); // unpublish
|
|
|
|
} |
|
|
|
} |
|
|
@ -213,7 +214,9 @@ namespace i2p |
|
|
|
if (isFloodfill) { |
|
|
|
if (isFloodfill) { |
|
|
|
LogPrint(eLogInfo, "Daemon: router will be floodfill"); |
|
|
|
LogPrint(eLogInfo, "Daemon: router will be floodfill"); |
|
|
|
i2p::context.SetFloodfill (true); |
|
|
|
i2p::context.SetFloodfill (true); |
|
|
|
} else { |
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
i2p::context.SetFloodfill (false); |
|
|
|
i2p::context.SetFloodfill (false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|