summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_misc.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-07-05 13:21:56 -0300
committerRenato Botelho <renato@netgate.com>2017-07-05 13:21:56 -0300
commit2bf67a6fe9e507e442f6894c78726047cf2d552a (patch)
tree379d52898dd040c20fa05f6402472b65e84ea080 /src/usr/local/www/system_advanced_misc.php
parentd49ad309f9006440cb81f5c8ff8990bf9325a92b (diff)
downloadpfsense-2bf67a6fe9e507e442f6894c78726047cf2d552a.zip
pfsense-2bf67a6fe9e507e442f6894c78726047cf2d552a.tar.gz
Send uniqueid instead of UUID on user-agent
Diffstat (limited to 'src/usr/local/www/system_advanced_misc.php')
-rw-r--r--src/usr/local/www/system_advanced_misc.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/system_advanced_misc.php b/src/usr/local/www/system_advanced_misc.php
index c2f6be7..6e99285 100644
--- a/src/usr/local/www/system_advanced_misc.php
+++ b/src/usr/local/www/system_advanced_misc.php
@@ -55,7 +55,7 @@ $pconfig['skip_rules_gw_down'] = isset($config['system']['skip_rules_gw_down']);
$pconfig['use_mfs_tmpvar'] = isset($config['system']['use_mfs_tmpvar']);
$pconfig['use_mfs_tmp_size'] = $config['system']['use_mfs_tmp_size'];
$pconfig['use_mfs_var_size'] = $config['system']['use_mfs_var_size'];
-$pconfig['do_not_send_host_uuid'] = isset($config['system']['do_not_send_host_uuid']);
+$pconfig['do_not_send_uniqueid'] = isset($config['system']['do_not_send_uniqueid']);
$pconfig['powerd_ac_mode'] = "hadp";
if (!empty($config['system']['powerd_ac_mode'])) {
@@ -184,10 +184,10 @@ if ($_POST) {
unset($config['system']['pkg_nochecksig']);
}
- if ($_POST['do_not_send_host_uuid'] == "yes") {
- $config['system']['do_not_send_host_uuid'] = true;
+ if ($_POST['do_not_send_uniqueid'] == "yes") {
+ $config['system']['do_not_send_uniqueid'] = true;
} else {
- unset($config['system']['do_not_send_host_uuid']);
+ unset($config['system']['do_not_send_uniqueid']);
}
if ($_POST['powerd_enable'] == "yes") {
@@ -584,11 +584,11 @@ $form->add($section);
$section = new Form_Section('Installation Feedback');
$section->addInput(new Form_Checkbox(
- 'do_not_send_host_uuid',
- 'Host UUID',
- 'Do NOT send HOST UUID with user agent',
- $pconfig['do_not_send_host_uuid']
-))->setHelp('Enable this option to not send HOST UUID to pfSense as part of User-Agent header.');
+ 'do_not_send_uniqueid',
+ 'Netgate Device ID',
+ 'Do NOT send Netgate Device ID with user agent',
+ $pconfig['do_not_send_uniqueid']
+))->setHelp('Enable this option to not send Netgate Device ID to pfSense as part of User-Agent header.');
$form->add($section);
OpenPOWER on IntegriCloud