summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_sysctl.php
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-06 00:55:48 -0500
committersullrich <sullrich@pfsense.org>2009-12-06 00:55:48 -0500
commit45849d22e7ff201fd7a4e74935f4c1f06fc6e694 (patch)
treed3b2bea874752517c6bddd922322bacdf7c674cf /usr/local/www/system_advanced_sysctl.php
parentd0b461f524df02aa8766f88dde23c5f4996d8553 (diff)
downloadpfsense-45849d22e7ff201fd7a4e74935f4c1f06fc6e694.zip
pfsense-45849d22e7ff201fd7a4e74935f4c1f06fc6e694.tar.gz
Show default values
Diffstat (limited to 'usr/local/www/system_advanced_sysctl.php')
-rw-r--r--usr/local/www/system_advanced_sysctl.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_sysctl.php b/usr/local/www/system_advanced_sysctl.php
index e2bc20e..355fa88 100644
--- a/usr/local/www/system_advanced_sysctl.php
+++ b/usr/local/www/system_advanced_sysctl.php
@@ -126,6 +126,7 @@ include("head.inc");
$pgtitle = array("System","Advanced: Miscellaneous");
include("head.inc");
+require("sysctl.inc");
?>
@@ -184,6 +185,10 @@ include("head.inc");
</td>
<td class="listr" align="left" ondblclick="document.location='system_advanced_sysctl.php?id=<?=$i;?>';">
<?php echo $tunable['value']; ?>
+ <?php
+ if($tunable['value'] == "default")
+ echo "(" . get_default_sysctl_value($tunable['tunable']) . ")";
+ ?>
</td>
<td class="list" nowrap>
<table border="0" cellspacing="0" cellpadding="1">
OpenPOWER on IntegriCloud