From 01b8dbb099a1accf050b090fa6f58faf9df785fb Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 4 Dec 2014 13:50:11 +0545 Subject: Put -4 in the right place in ntpq clockver command #4074 I had pasted it in here between "-c" and "clockvar", that was not good. That's all I have for #4074 (I hope) --- usr/local/www/status_ntpd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/status_ntpd.php b/usr/local/www/status_ntpd.php index d8a0383..d861c24 100644 --- a/usr/local/www/status_ntpd.php +++ b/usr/local/www/status_ntpd.php @@ -100,7 +100,7 @@ if(!isset($config['ntpd']['noquery'])) { $ntpq_servers[] = $server; } - exec("/usr/local/sbin/ntpq -c $inet_version clockvar", $ntpq_clockvar_output); + exec("/usr/local/sbin/ntpq -c clockvar $inet_version", $ntpq_clockvar_output); foreach ($ntpq_clockvar_output as $line) { if (substr($line, 0, 9) == "timecode=") { $tmp = explode('"', $line); -- cgit v1.1