mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Fix for local.conf virtual path blacklist (ticket #594)
This commit is contained in:
parent
f18d5b2efe
commit
382dd82eb6
1 changed files with 1 additions and 1 deletions
|
@ -1411,7 +1411,7 @@ public:
|
|||
json &blAddrs = v.value()["blacklist"];
|
||||
if (blAddrs.is_array()) {
|
||||
for(unsigned long i=0;i<blAddrs.size();++i) {
|
||||
const InetAddress ip(OSUtils::jsonString(tryAddrs[i],"").c_str());
|
||||
const InetAddress ip(OSUtils::jsonString(blAddrs[i],"").c_str());
|
||||
if (ip.ss_family == AF_INET)
|
||||
v4b.push_back(ip);
|
||||
else if (ip.ss_family == AF_INET6)
|
||||
|
|
Loading…
Add table
Reference in a new issue