diff options
| author | Grant Limberg <[email protected]> | 2020-09-10 15:59:18 -0700 |
|---|---|---|
| committer | Grant Limberg <[email protected]> | 2020-09-10 15:59:18 -0700 |
| commit | bbb307aff740531dfe5a52ea56ab8ebaa86fe2ff (patch) | |
| tree | c07e5c8a5173a07ce359ec1cf30fdec007a312ab /one.cpp | |
| parent | 3db263284bcd416b4499dc7d90e8403de8d4b1c2 (diff) | |
DNS is now toggleable via `zerotier-cli set <nwid> allowDNS=[0|1]`
Flag is disabled by default as it should be opt-in on each endpoint
Diffstat (limited to 'one.cpp')
| -rw-r--r-- | one.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -734,7 +734,7 @@ static int cli(int argc,char **argv) } std::size_t eqidx = arg2.find('='); if (eqidx != std::string::npos) { - if ((arg2.substr(0,eqidx) == "allowManaged")||(arg2.substr(0,eqidx) == "allowGlobal")||(arg2.substr(0,eqidx) == "allowDefault")) { + if ((arg2.substr(0,eqidx) == "allowManaged")||(arg2.substr(0,eqidx) == "allowGlobal")||(arg2.substr(0,eqidx) == "allowDefault")||(arg2.substr(0,eqidx) == "allowDNS")) { char jsons[1024]; OSUtils::ztsnprintf(jsons,sizeof(jsons),"{\"%s\":%s}", arg2.substr(0,eqidx).c_str(), |
