diff options
author | Jean Cyr <jcyr@dillobits.com> | 2014-09-23 03:16:24 -0400 |
---|---|---|
committer | Jean Cyr <jcyr@dillobits.com> | 2014-09-23 03:16:24 -0400 |
commit | 63d5a5e0e2150706b9b84ac4e60d7388c6f0bbd5 (patch) | |
tree | 854ca0d52ef3cae354b7a77396fa9d916d3de00e /usr/local/www/services_ntpd.php | |
parent | 5d14b13ec1a43f825b98acc6554536b6ef2b4281 (diff) | |
download | pfsense-63d5a5e0e2150706b9b84ac4e60d7388c6f0bbd5.zip pfsense-63d5a5e0e2150706b9b84ac4e60d7388c6f0bbd5.tar.gz |
NTP server configuration does not highlight selected interfaces
Missing explode of selected interface list prevent logic from working.
Diffstat (limited to 'usr/local/www/services_ntpd.php')
-rw-r--r-- | usr/local/www/services_ntpd.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/services_ntpd.php b/usr/local/www/services_ntpd.php index ac36844..f49fde3 100644 --- a/usr/local/www/services_ntpd.php +++ b/usr/local/www/services_ntpd.php @@ -172,6 +172,10 @@ if ($_POST) { } $closehead = false; $pconfig = &$config['ntpd']; +if (empty($pconfig['interface'])) + $pconfig['interface'] = array(); +else + $pconfig['interface'] = explode(",", $pconfig['interface']); $pgtitle = array(gettext("Services"),gettext("NTP")); $shortcut_section = "ntp"; include("head.inc"); |