summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-06-21 02:06:47 -0700
committerErmal Luçi <eri@pfsense.org>2013-06-21 02:06:47 -0700
commitb6aecb2798235c86c6378041b37a7580c2c7cc6a (patch)
treeaaf7a4b936003fdababcb6bf2af406d5d80dc58d
parent94744c271070bfef6bdf0495120b5c2abce371c3 (diff)
parent490cd4388b144d199b6feb3fcc209d5c5e3a4846 (diff)
downloadpfsense-b6aecb2798235c86c6378041b37a7580c2c7cc6a.zip
pfsense-b6aecb2798235c86c6378041b37a7580c2c7cc6a.tar.gz
Merge pull request #673 from phil-davis/master
Use "Probe Interval" to describe this advanced gateway parameter
-rwxr-xr-xusr/local/www/system_gateways_edit.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index 54aead3..01cd7d0 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -324,10 +324,10 @@ if ($_POST) {
if($_POST['interval']) {
if (! is_numeric($_POST['interval'])) {
- $input_errors[] = gettext("The frequency probe interval needs to be a numeric value.");
+ $input_errors[] = gettext("The probe interval needs to be a numeric value.");
} else {
if ($_POST['interval'] < 1) {
- $input_errors[] = gettext("The frequency probe interval needs to be positive.");
+ $input_errors[] = gettext("The probe interval needs to be positive.");
}
}
}
@@ -345,21 +345,21 @@ if ($_POST) {
if(($_POST['interval']) && ($_POST['down'])){
if ((is_numeric($_POST['interval'])) && (is_numeric($_POST['down']))) {
if($_POST['interval'] > $_POST['down']) {
- $input_errors[] = gettext("The Frequency Probe interval needs to be less than the down time setting.");
+ $input_errors[] = gettext("The probe interval needs to be less than the down time setting.");
}
}
} else {
if($_POST['interval']){
if (is_numeric($_POST['interval'])) {
if($_POST['interval'] > $apinger_default['down']) {
- $input_errors[] = gettext(sprintf("The Frequency Probe interval needs to be less than the default down time setting (%d)", $apinger_default['down']));
+ $input_errors[] = gettext(sprintf("The probe interval needs to be less than the default down time setting (%d)", $apinger_default['down']));
}
}
}
if($_POST['down']){
if (is_numeric($_POST['down'])) {
if($_POST['down'] < $apinger_default['interval']) {
- $input_errors[] = gettext(sprintf("The down time setting needs to be higher than the default Frequency Probe interval (%d)", $apinger_default['interval']));
+ $input_errors[] = gettext(sprintf("The down time setting needs to be higher than the default probe interval (%d)", $apinger_default['interval']));
}
}
}
@@ -624,13 +624,13 @@ function monitor_change() {
</td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncellreq"><?=gettext("Frequency Probe");?></td>
+ <td width="22%" valign="top" class="vncellreq"><?=gettext("Probe Interval");?></td>
<td width="78%" class="vtable">
<input name="interval" type="text" class="formfld unknown" id="interval" size="2"
value="<?=htmlspecialchars($pconfig['interval']);?>" />
<br/><span class="vexpl">
<?=gettext(sprintf("How often that an ICMP probe will be sent in seconds. Default is %d.", $apinger_default['interval']));?><br/><br/>
- <?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the frequency probe is increased the accuracy of the quality graph is decreased.");?>
+ <?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the probe interval is increased the accuracy of the quality graph is decreased.");?>
</span>
</td>
</tr>
@@ -644,8 +644,8 @@ function monitor_change() {
</tr>
<tr>
<td colspan="2">
- <?= gettext("The Frequency Probe interval must be less than the Down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br/><br/>
- <?= gettext("The Down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the Frequency Probe value. For example, if your Down time is 40 seconds but on a 30 second frequency, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br/>
+ <?= gettext("The probe interval must be less than the down time, otherwise the gateway will seem to go down then come up again at the next probe."); ?><br/><br/>
+ <?= gettext("The down time defines the length of time before the gateway is marked as down, but the accuracy is controlled by the probe interval. For example, if your down time is 40 seconds but on a 30 second probe interval, only one probe would have to fail before the gateway is marked down at the 40 second mark. By default, the gateway is considered down after 10 seconds, and the probe interval is 1 second, so 10 probes would have to fail before the gateway is marked down."); ?><br/>
</td>
</tr>
</table>
OpenPOWER on IntegriCloud