summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-26 12:20:30 +0000
committerErmal <eri@pfsense.org>2010-11-26 12:20:30 +0000
commitcfa62e06c7bdec6ed5856c335fe47dabcbb22de4 (patch)
tree9ca3a8031ef153fa7ebf76671c0a349c18f03a86
parent979c816c6dfa2e618df20a0e25387c43e2888b11 (diff)
downloadpfsense-cfa62e06c7bdec6ed5856c335fe47dabcbb22de4.zip
pfsense-cfa62e06c7bdec6ed5856c335fe47dabcbb22de4.tar.gz
include broadcast address to allow dhcp to work.
-rw-r--r--etc/inc/captiveportal.inc4
-rw-r--r--usr/local/www/widgets/widgets/cpu_graphs.widget.php1
2 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 007bd44..63d3ce9 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -616,7 +616,7 @@ EOD;
}
$ipcount++;
}
- $ips = "{ {$ips} }";
+ $ips = "{ 255.255.255.255 {$ips} }";
$cprules .= "add {$rulenum} set 1 pass ip from any to {$ips} in\n";
$rulenum++;
$cprules .= "add {$rulenum} set 1 pass ip from {$ips} to any out\n";
@@ -1471,4 +1471,4 @@ function portal_ip_from_client_ip($cliip) {
return false;
}
-?> \ No newline at end of file
+?>
diff --git a/usr/local/www/widgets/widgets/cpu_graphs.widget.php b/usr/local/www/widgets/widgets/cpu_graphs.widget.php
index 42c5faa..fa48610 100644
--- a/usr/local/www/widgets/widgets/cpu_graphs.widget.php
+++ b/usr/local/www/widgets/widgets/cpu_graphs.widget.php
@@ -70,4 +70,3 @@ require_once("functions.inc");
//GraphDynamicScale(graph[0]);
</script>
-
OpenPOWER on IntegriCloud