summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_ntpd.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-12-04 13:50:11 +0545
committerPhil Davis <phil.davis@inf.org>2014-12-04 13:50:11 +0545
commit62a407dad5036aac80402f4c654127129316325a (patch)
tree102484cbe2f923c859d5756557238089d26f9964 /usr/local/www/status_ntpd.php
parente26effd34041d9bbb8c712ce3098b5d296967325 (diff)
downloadpfsense-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/status_ntpd.php')
-rw-r--r--usr/local/www/status_ntpd.php2
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);
OpenPOWER on IntegriCloud