diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-10-15 11:54:44 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-10-15 11:54:44 -0500 |
commit | 1f290d6244e4def47c46e036c1070ad4e3897eb9 (patch) | |
tree | 1b79cab68606c968074d4d40f0fa0aa4393e5f71 /etc | |
parent | cd4aa77ca3f6099c533800934efbb1496b9ff7e6 (diff) | |
download | pfsense-1f290d6244e4def47c46e036c1070ad4e3897eb9.zip pfsense-1f290d6244e4def47c46e036c1070ad4e3897eb9.tar.gz |
fix comparison here. Ticket #4558
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
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" |