diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php index 33ad647a4e..5a22676bd8 100644 --- a/usr/local/www/services_dhcpv6.php +++ b/usr/local/www/services_dhcpv6.php @@ -119,6 +119,7 @@ if (is_array($config['dhcpdv6'][$if])){ $pconfig['failover_peerip'] = $config['dhcpdv6'][$if]['failover_peerip']; $pconfig['netmask'] = $config['dhcpdv6'][$if]['netmask']; $pconfig['numberoptions'] = $config['dhcpdv6'][$if]['numberoptions']; + $pconfig['timeformatchangev6'] = $config['system']['timeformatchangev6']; if (!is_array($config['dhcpdv6'][$if]['staticmap'])) $config['dhcpdv6'][$if]['staticmap'] = array(); $a_maps = &$config['dhcpdv6'][$if]['staticmap']; @@ -318,6 +319,7 @@ if ($_POST) { $config['dhcpdv6'][$if]['nextserver'] = $_POST['nextserver']; $config['dhcpdv6'][$if]['filename'] = $_POST['filename']; $config['dhcpdv6'][$if]['rootpath'] = $_POST['rootpath']; + $config['system']['timeformatchangev6'] = $_POST['timeformatchangev6']; // Handle the custom options rowhelper if(isset($config['dhcpdv6'][$if]['numberoptions']['item'])) @@ -658,6 +660,31 @@ include("head.inc"); =gettext("Leave blank to disable. Enter the interface IP address of the other machine. Machines must be using CARP.");?> +
| + > + | ++ + =gettext("Change DHCPv6 display lease time from UTC to local time."); ?> + + | +
| + | + =gettext("Note:");?> =gettext("By default DHCPv6 leases are displayed in UTC time. By checking this + box DHCPv6 lease time will be displayed in local time and set to time zone selected. This will be used for all DHCPv6 interfaces lease time."); ?> + + | +