diff options
author | Ermal <eri@pfsense.org> | 2013-11-21 17:35:05 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-11-21 17:35:05 +0000 |
commit | fc5a4f3c22bc0cfc44a8d0e74a1a5fda12ba9f8b (patch) | |
tree | 50d1bc17157c20a54a07a4682cb2cc5c608c51ee /usr/local/www/system_advanced_firewall.php | |
parent | d3b17c9a0b111ce20869f226322365324e0da4ce (diff) | |
download | pfsense-fc5a4f3c22bc0cfc44a8d0e74a1a5fda12ba9f8b.zip pfsense-fc5a4f3c22bc0cfc44a8d0e74a1a5fda12ba9f8b.tar.gz |
Remove maximumtables even from the GUI since there is no option
Diffstat (limited to 'usr/local/www/system_advanced_firewall.php')
-rw-r--r-- | usr/local/www/system_advanced_firewall.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index a1be55c..bdd25bb 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -60,7 +60,6 @@ $pconfig['maximumstates'] = $config['system']['maximumstates']; $pconfig['aliasesresolveinterval'] = $config['system']['aliasesresolveinterval']; $old_aliasesresolveinterval = $config['system']['aliasesresolveinterval']; $pconfig['checkaliasesurlcert'] = isset($config['system']['checkaliasesurlcert']); -$pconfig['maximumtables'] = $config['system']['maximumtables']; $pconfig['maximumtableentries'] = $config['system']['maximumtableentries']; $pconfig['disablereplyto'] = isset($config['system']['disablereplyto']); $pconfig['disablenegate'] = isset($config['system']['disablenegate']); @@ -93,9 +92,6 @@ if ($_POST) { if ($_POST['aliasesresolveinterval'] && !is_numericint($_POST['aliasesresolveinterval'])) { $input_errors[] = gettext("The Aliases Hostname Resolve Interval value must be an integer."); } - if ($_POST['maximumtables'] && !is_numericint($_POST['maximumtables'])) { - $input_errors[] = gettext("The Firewall Maximum Tables value must be an integer."); - } if ($_POST['maximumtableentries'] && !is_numericint($_POST['maximumtableentries'])) { $input_errors[] = gettext("The Firewall Maximum Table Entries value must be an integer."); } @@ -152,7 +148,6 @@ if ($_POST) { $config['system']['optimization'] = $_POST['optimization']; $config['system']['maximumstates'] = $_POST['maximumstates']; $config['system']['aliasesresolveinterval'] = $_POST['aliasesresolveinterval']; - $config['system']['maximumtables'] = $_POST['maximumtables']; $config['system']['maximumtableentries'] = $_POST['maximumtableentries']; if($_POST['natreflection'] == "proxy") { @@ -385,22 +380,6 @@ function update_description(itemnum) { </td> </tr> <tr> - <td width="22%" valign="top" class="vncell"><?=gettext("Firewall Maximum Tables");?></td> - <td width="78%" class="vtable"> - <input name="maximumtables" type="text" id="maximumtables" value="<?php echo $pconfig['maximumtables']; ?>" /> - <br/> - <strong><?=gettext("Maximum number of tables for systems such as aliases, sshlockout, snort, etc, combined.");?></strong> - <br/><?php echo gettext("This is the actual number of tables, not the number of entries inside the tables (see below)");?> - <br/> - <span class="vexpl"> - <?=gettext("Note: Leave this blank for the default.");?> - <?php if (empty($pconfig['maximumtables'])): ?> - <?= gettext("On your system the default size is:");?> <?= pfsense_default_tables_size(); ?> - <?php endif; ?> - </span> - </td> - </tr> - <tr> <td width="22%" valign="top" class="vncell"><?=gettext("Firewall Maximum Table Entries");?></td> <td width="78%" class="vtable"> <input name="maximumtableentries" type="text" id="maximumtableentries" value="<?php echo $pconfig['maximumtableentries']; ?>" /> |