mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-24 08:05:36 +02:00
insert ipv4 address if enabled back
This commit is contained in:
parent
6555ae5b0a
commit
f162876600
2 changed files with 51 additions and 2 deletions
libi2pd
|
@ -151,6 +151,9 @@ namespace data
|
|||
|
||||
bool IsIntroducer () const { return caps & eSSUIntroducer; };
|
||||
bool IsPeerTesting () const { return caps & eSSUTesting; };
|
||||
|
||||
bool IsV4 () const { return (caps & AddressCaps::eV4) || host.is_v4 (); };
|
||||
bool IsV6 () const { return (caps & AddressCaps::eV6) || host.is_v6 (); };
|
||||
};
|
||||
typedef std::list<std::shared_ptr<Address> > Addresses;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue