aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/squid.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index b3e420a9..a02599c7 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -217,11 +217,7 @@ function squid_validate_nac($post, $input_errors) {
$input_errors[] = "'$subnet' is not a valid CIDR range";
}
- foreach (array( 'unrestricted_hosts',
- 'banned_hosts',
- 'whitelist',
- 'blacklist',
- ) as $hosts) {
+ foreach (array( 'unrestricted_hosts', 'banned_hosts') as $hosts) {
foreach (explode(',', $post[$hosts]) as $host) {
$host = trim($host);
if (!empty($host) && !is_ipaddr($host))