diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-04 13:50:11 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-12-04 13:50:11 +0545 |
commit | 62a407dad5036aac80402f4c654127129316325a (patch) | |
tree | 102484cbe2f923c859d5756557238089d26f9964 /usr/local/www | |
parent | e26effd34041d9bbb8c712ce3098b5d296967325 (diff) | |
download | pfsense-62a407dad5036aac80402f4c654127129316325a.zip pfsense-62a407dad5036aac80402f4c654127129316325a.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')
-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); |