insert ipv4 address if enabled back

This commit is contained in:
orignal 2021-03-12 16:13:01 -05:00
parent 6555ae5b0a
commit f162876600
2 changed files with 51 additions and 2 deletions

View file

@ -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;