summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-11-14 15:57:46 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-11-14 15:57:46 -0800
commit4ad942522ba17d94ac68a450ff29d7f6159c2202 (patch)
treec03f0ee06eb670ac477ea39eb32eee45f28d7a3d
parentb6c99ba3efeb51c7f08c1a4b1392f3942258195d (diff)
downloadinfinitytier-4ad942522ba17d94ac68a450ff29d7f6159c2202.tar.gz
infinitytier-4ad942522ba17d94ac68a450ff29d7f6159c2202.zip
Kill unnecessary check in another spot.
-rw-r--r--service/ControlPlane.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp
index f14bae54..150bba1b 100644
--- a/service/ControlPlane.cpp
+++ b/service/ControlPlane.cpp
@@ -270,9 +270,6 @@ unsigned int ControlPlane::handleRequest(
std::map<std::string,std::string> urlArgs;
Mutex::Lock _l(_lock);
- if (!((fromAddress.ipsEqual(InetAddress::LO4))||(fromAddress.ipsEqual(InetAddress::LO6))))
- return 403; // Forbidden: we only allow access from localhost right now
-
/* Note: this is kind of restricted in what it'll take. It does not support
* URL encoding, and /'s in URL args will screw it up. But the only URL args
* it really uses in ?jsonp=funcionName, and otherwise it just takes simple