mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00:00
More refactoring to remove old Dictionary dependencies.
This commit is contained in:
@ -80,8 +80,10 @@ NetworkConfig NetworkConfig::createTestNetworkConfig(const Address &self)
|
||||
|
||||
#ifdef ZT_SUPPORT_OLD_STYLE_NETCONF
|
||||
|
||||
void NetworkConfig::fromDictionary(const Dictionary &d)
|
||||
void NetworkConfig::fromDictionary(const char *ds,unsigned int dslen)
|
||||
{
|
||||
Dictionary d(ds,dslen);
|
||||
|
||||
static const std::string zero("0");
|
||||
static const std::string one("1");
|
||||
|
||||
|
Reference in New Issue
Block a user