summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-15 11:53:21 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-15 11:53:21 -0500
commitd1867dd2884a900cbe8abc7278e383ce4f6ea477 (patch)
treefc6e1e5681833ed456ce1431896f81ac32b12d97 /src/etc
parent7a7e1ba909e37d237e36c43a847faecfdf9559b5 (diff)
downloadpfsense-d1867dd2884a900cbe8abc7278e383ce4f6ea477.zip
pfsense-d1867dd2884a900cbe8abc7278e383ce4f6ea477.tar.gz
fix comparison here. Ticket #4558
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc
index 95d5d1b..ff634c4 100644
--- a/src/etc/inc/filter.inc
+++ b/src/etc/inc/filter.inc
@@ -3337,7 +3337,7 @@ EOD;
if(isset($config['dhcrelay']['enable'])) {
$dhcifaces = explode(",", $dhcrelaycfg['interface']);
foreach ($dhcifaces as $dhcrelayif) {
- if ($dhcrelayif = $on) {
+ if ($dhcrelayif == $on) {
$ipfrules .= <<<EOD
# allow access to DHCP relay on {$oc['descr']}
pass in {$log['pass']} quick on \${$oc['descr']} proto udp from any port = 68 to 255.255.255.255 port = 67 tracker {$increment_tracker($tracker)} label "allow access to DHCP relay"
OpenPOWER on IntegriCloud