summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-20 23:38:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-20 23:38:18 +0000
commit507a5e3e3a75072e51a9e7997314c902a8a178e1 (patch)
tree5e6283f029b59f39ce21068007e1994f9740031d
parentc62ff4e70f92a63a3b17d4d9f781de79cc197131 (diff)
downloadpfsense-507a5e3e3a75072e51a9e7997314c902a8a178e1.zip
pfsense-507a5e3e3a75072e51a9e7997314c902a8a178e1.tar.gz
Add frontend for reflection timeout value
-rwxr-xr-xusr/local/www/system_advanced.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 056a6a8..0561e38 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -58,6 +58,7 @@ $pconfig['sharednet'] = $config['system']['sharednet'];
$pconfig['polling_enable'] = isset($config['system']['polling']);
$pconfig['bypassstaticroutes'] = isset($config['filter']['bypassstaticroutes']);
$pconfig['disablenatreflection'] = $config['system']['disablenatreflection'];
+$pconfig['reflectiontimeout'] = $config['system']['reflectiontimeout'];
$pconfig['disablechecksumoffloading'] = isset($config['system']['disablechecksumoffloading']);
$pconfig['disablescrub'] = isset($config['system']['disablescrub']);
$pconfig['shapertype'] = $config['system']['shapertype'];
@@ -230,6 +231,8 @@ if ($_POST) {
} else {
unset($config['system']['disablenatreflection']);
}
+
+ $config['system']['reflectiontimeout'] = $_POST['reflectiontimeout'];
// Traffic shaper
$config['system']['shapertype'] = $_POST['shapertype'];
@@ -646,6 +649,13 @@ include("head.inc");
</td>
</tr>
<tr>
+ <td width="22%" valign="top" class="vncell">Reflection Timeout</td>
+ <td width="78%" class="vtable">
+ <input name="reflectiontimeout" id="reflectiontimeout" <?php echo $config['system']['reflectiontimeout']; ?> />
+ <strong>Enter value for Reflection timeout in seconds.</strong>
+ </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>
OpenPOWER on IntegriCloud