summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-15 11:54:44 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-15 11:54:44 -0500
commit1f290d6244e4def47c46e036c1070ad4e3897eb9 (patch)
tree1b79cab68606c968074d4d40f0fa0aa4393e5f71 /etc
parentcd4aa77ca3f6099c533800934efbb1496b9ff7e6 (diff)
downloadpfsense-1f290d6244e4def47c46e036c1070ad4e3897eb9.zip
pfsense-1f290d6244e4def47c46e036c1070ad4e3897eb9.tar.gz
fix comparison here. Ticket #4558
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index b23b75a..402f064 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -3121,7 +3121,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