diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-04 13:50:11 +0545 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-12-04 08:01:53 -0200 |
commit | 01b8dbb099a1accf050b090fa6f58faf9df785fb (patch) | |
tree | 7f5ebe9da63e8bac2f6a526bfba8d61d89206e22 /usr/local/www/status_ntpd.php | |
parent | 9bcb09195202d6e1957fc3b2be57d8f6444c43c0 (diff) | |
download | pfsense-01b8dbb099a1accf050b090fa6f58faf9df785fb.zip pfsense-01b8dbb099a1accf050b090fa6f58faf9df785fb.tar.gz |
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)
Diffstat (limited to 'usr/local/www/status_ntpd.php')
-rw-r--r-- | usr/local/www/status_ntpd.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |