diff options
author | jim-p <jimp@pfsense.org> | 2016-12-23 08:21:38 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-12-23 08:22:41 -0500 |
commit | 708dd35c2ffe0dc78be294473a7ae7da5e1f38ef (patch) | |
tree | d229b0a66741425f6406f5dc533155c8fe75b7c6 | |
parent | 9e0e2b6130b6989cde6de9dc84e2f2a565ad6371 (diff) | |
download | pfsense-708dd35c2ffe0dc78be294473a7ae7da5e1f38ef.zip pfsense-708dd35c2ffe0dc78be294473a7ae7da5e1f38ef.tar.gz |
Fix variable name used to pre-fill the NTP orphan mode field, add placeholder with the default while I'm here. Fixes #7034
-rw-r--r-- | src/usr/local/www/services_ntpd.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/services_ntpd.php b/src/usr/local/www/services_ntpd.php index d021eb0..d1f8dc3 100644 --- a/src/usr/local/www/services_ntpd.php +++ b/src/usr/local/www/services_ntpd.php @@ -304,7 +304,8 @@ $section->addInput(new Form_Input( 'ntporphan', 'Orphan Mode', 'text', - $pconfig['ntporphan'] + $pconfig['orphan'], + ['placeholder' => "12"] ))->setHelp('Orphan mode allows the system clock to be used when no other clocks are available. ' . 'The number here specifies the stratum reported during orphan mode and should normally be set to a number high enough ' . 'to insure that any other servers available to clients are preferred over this server (default: 12).'); |