More refactoring to remove old Dictionary dependencies.
This commit is contained in:
parent
246f86dad3
commit
90e1262a8b
5 changed files with 114 additions and 19 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue