Remove filtering bridge option. It's on by default now Toto.

This commit is contained in:
Scott Ullrich 2005-06-02 20:25:54 +00:00
parent 1249b2141a
commit dc22c75ced

View File

@ -37,7 +37,6 @@ require("guiconfig.inc");
$pconfig['disablefilter'] = $config['system']['disablefilter'];
$pconfig['disableftpproxy'] = $config['system']['disableftpproxy'];
$pconfig['rfc959workaround'] = $config['system']['rfc959workaround'];
$pconfig['filteringbridge_enable'] = isset($config['bridge']['filteringbridge']);
$pconfig['ipv6nat_enable'] = isset($config['diag']['ipv6nat']['enable']);
$pconfig['ipv6nat_ipaddr'] = $config['diag']['ipv6nat']['ipaddr'];
$pconfig['cert'] = base64_decode($config['system']['webgui']['certificate']);
@ -107,10 +106,6 @@ if ($_POST) {
else
unset($config['system']['rfc959workaround']);
if($_POST['filteringbridge_enable'] == "yes")
$config['bridge']['filteringbridge'] = true;
else
unset($config['bridge']['filteringbridge']);
if($_POST['ipv6nat_enable'] == "yes") {
$config['diag']['ipv6nat']['enable'] = true;
$config['diag']['ipv6nat']['ipaddr'] = $_POST['ipv6nat_ipaddr'];
@ -349,29 +344,6 @@ function update_description(itemnum) {
<tr>
<td colspan="2" class="list" height="12"></td>
</tr>
<tr>
<td colspan="2" valign="top" class="listtopic">Filtering bridge</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell">&nbsp;</td>
<td width="78%" class="vtable">
<input name="filteringbridge_enable" type="checkbox" id="filteringbridge_enable" value="yes" <?php if ($pconfig['filteringbridge_enable']) echo "checked"; ?>>
<strong>Enable filtering bridge</strong><span class="vexpl"><br>
This will cause bridged packets to pass through the packet
filter in the same way as routed packets do (by default bridged
packets are always passed). If you enable this option, you'll
have to add filter rules to selectively permit traffic from
bridged interfaces.</span></td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)">
</td>
</tr>
<tr>
<td colspan="2" class="list" height="12"></td>
</tr>
<tr>
<td colspan="2" valign="top" class="listtopic">webGUI SSL certificate/key</td>
</tr>