From 588f353b55f8fcc0812b9a0290d6a0d1fa45d464 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 2 Dec 2010 18:01:43 +0000 Subject: [PATCH] small cidr check optimization git-svn-id: http://www.observium.org/svn/observer/trunk@1753 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/graph.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index c36f27136..a5dfc51e7 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -60,6 +60,7 @@ if (is_file($config['install_dir'] . "/html/includes/graphs/$type/$subtype.inc.p if (Net_IPv4::ipInNetwork($_SERVER['REMOTE_ADDR'], $range)) { $auth = TRUE; + break; } } }