mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not truncate IPv6 addresss in NTP widget (Bug #4815)
This commit is contained in:
parent
7d4d9ec586
commit
cd2c59c983
@ -51,7 +51,7 @@ if ($_REQUEST['updateme']) {
|
||||
$inet_version = " -4";
|
||||
}
|
||||
|
||||
exec("/usr/local/sbin/ntpq -pn $inet_version | /usr/bin/tail +3", $ntpq_output);
|
||||
exec("/usr/local/sbin/ntpq -pn -w $inet_version | /usr/bin/tail +3", $ntpq_output);
|
||||
$ntpq_counter = 0;
|
||||
$stratum_text = gettext("stratum");
|
||||
foreach ($ntpq_output as $line) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user