mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't manage netdb is transports are not running
This commit is contained in:
parent
62d279e1b0
commit
cdfdfc9e24
2 changed files with 3 additions and 1 deletions
|
@ -134,6 +134,7 @@ namespace transport
|
|||
|
||||
void Start (bool enableNTCP2=true, bool enableSSU2=true);
|
||||
void Stop ();
|
||||
bool IsRunning () const { return m_IsRunning; }
|
||||
|
||||
bool IsBoundSSU2() const { return m_SSU2Server != nullptr; }
|
||||
bool IsBoundNTCP2() const { return m_NTCP2Server != nullptr; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue