--- a/src/www/services_dhcpv6.php+++ b/src/www/services_dhcpv6.php@@ -70,6 +70,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { $ifcfgip = $config['interfaces'][$if]['ipaddrv6']; $ifcfgsn = $config['interfaces'][$if]['subnetv6'];+$pdlen = -1; if (isset($config['interfaces'][$if]['dhcpd6track6allowoverride'])) { list ($ifcfgip,, $ifcfgsn) = interfaces_primary_address6($if); $pdlen = calculate_ipv6_delegation_length($config['interfaces'][$if]['track6-interface']) - 1;--- a/src/www/status_ntpd.php+++ b/src/www/status_ntpd.php@@ -31,6 +31,7 @@ require_once("guiconfig.inc"); require_once("interfaces.inc");+$gps_ok = False; if (!isset($config['ntpd']['noquery'])) { exec("/usr/local/sbin/ntpq -pnw | /usr/bin/tail +3", $ntpq_output); $ntpq_servers = array();--- a/src/www/widgets/widgets/ntp_status.widget.php+++ b/src/www/widgets/widgets/ntp_status.widget.php@@ -33,7 +33,8 @@ require_once("guiconfig.inc"); require_once("widgets/include/ntp_status.inc");-if ($_REQUEST['updateme']) {+$gps_ok = False;+if (isset($_REQUEST['updateme'])) { //this block displays only on ajax refresh exec("/usr/local/sbin/ntpq -pn | /usr/bin/tail +3", $ntpq_output); $ntpq_counter = 0;
--- a/src/opnsense/scripts/system/temperature.sh+++ b/src/opnsense/scripts/system/temperature.sh@@ -44,8 +44,6 @@ else # The grep is opportunistic, but at least we only grep the # variable names and not their content at the same time and # as long as we can find something that matches our search.- SYSCTLS=$(sysctl -aN | grep temperature)- if [ -n "${SYSCTLS}" ]; then- sysctl -e ${SYSCTLS} | sort- fi+ sysctl -e dev.cpu | grep temperature | sort -t. -k3n+ sysctl -e hw. | grep temperature | sort -t. -k4n fi--- a/src/www/widgets/api/plugins/temperature.inc+++ b/src/www/widgets/api/plugins/temperature.inc@@ -46,9 +46,5 @@ function temperature_api() } }- usort($result, function ($item1, $item2) {- return strcmp(strtolower($item1['device']), strtolower($item2['device'] ));- });- return $result; }
PHP Warning: Undefined array key 0 in /usr/local/www/interfaces.php on line 479PHP Warning: Trying to access array offset on value of type null in /usr/local/www/interfaces.php on line 479PHP Warning: Undefined array key 0 in /usr/local/www/interfaces.php on line 489PHP Warning: Trying to access array offset on value of type null in /usr/local/www/interfaces.php on line 489PHP Warning: Undefined array key 0 in /usr/local/www/interfaces.php on line 490PHP Warning: Trying to access array offset on value of type null in /usr/local/www/interfaces.php on line 490PHP Warning: Undefined array key 0 in /usr/local/www/interfaces.php on line 491PHP Warning: Trying to access array offset on value of type null in /usr/local/www/interfaces.php on line 491PHP Warning: Undefined array key "ipaddrv6" in /usr/local/www/interfaces.php on line 2939PHP Warning: Undefined array key 0 in /usr/local/www/interfaces.php on line 3585PHP Warning: Trying to access array offset on value of type null in /usr/local/www/interfaces.php on line 3585