summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-30 21:07:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-30 21:07:30 +0000
commit47d69850b37f4a13a8c5c10567c641b0b8087ef8 (patch)
treeb72e81a3fc36bb4db8c65a126bd47a7a668bafed
parentfbf5e8ad7965e53a345469f32bbccf49b9220e75 (diff)
downloadpfsense-47d69850b37f4a13a8c5c10567c641b0b8087ef8.zip
pfsense-47d69850b37f4a13a8c5c10567c641b0b8087ef8.tar.gz
Handle WAN bridged to LAN in addition to LAN bridged to WAN
-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 b839390..b13eadc 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1525,7 +1525,7 @@ pass out quick on $wanif proto udp from any port = 68 to any port = 67 label "al
EOD;
-if($config['interfaces']['lan']['bridge'] <> "wan")
+if($config['interfaces']['lan']['bridge'] <> "wan" and $config['interfaces']['wan']['bridge'] <> "lan")
$ipfrules .= "block in $log quick on $wanif proto udp from any port = 67 to {$lansa_sn_combo} port = 68 label \"allow dhcp client out wan\"\n";
$ipfrules .= <<<EOD
OpenPOWER on IntegriCloud