diff options
author | jim-p <jimp@pfsense.org> | 2012-05-30 12:59:23 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-30 12:59:23 -0400 |
commit | 58168f4e2a74cb08d62bfb9715a6627b108a7ac8 (patch) | |
tree | af97352143c47fa9f7909feaf97845c1f813641f /etc | |
parent | cf180ccc2a6f91e37b3738bb4a1b14bebbf9ef63 (diff) | |
download | pfsense-58168f4e2a74cb08d62bfb9715a6627b108a7ac8.zip pfsense-58168f4e2a74cb08d62bfb9715a6627b108a7ac8.tar.gz |
Fix input validation and import test.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index c807c0e..357f47a 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1267,7 +1267,7 @@ function system_ntp_configure($start_ntpd=true) { $ntpcfg .= "driftfile {$driftfile}\n"; if (empty($config['ntpd']['interface'])) - if (empty($config['openntpd']['config']['interface'])) + if (!empty($config['installedpackages']['openntpd']['config'][0]['interface'])) $interfaces = explode(",", $config['installedpackages']['openntpd']['config'][0]['interface']); else $interfaces = array(); |