diff options
author | Joseph Henry <josephjah@gmail.com> | 2017-11-27 15:31:25 -0800 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2017-11-27 15:31:25 -0800 |
commit | 382dd82eb62ba41b6051af92ce749809a3b61ed7 (patch) | |
tree | ed7d7cdae60a4bccb62d33d5ee1abf9ff45ab9a2 | |
parent | f18d5b2efeb728ce79027890ef08307f2f41f787 (diff) | |
download | infinitytier-382dd82eb62ba41b6051af92ce749809a3b61ed7.tar.gz infinitytier-382dd82eb62ba41b6051af92ce749809a3b61ed7.zip |
Fix for local.conf virtual path blacklist (ticket #594)
-rw-r--r-- | service/OneService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index b767dea8..b30dc390 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -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) |