Project

General

Profile

Bug #6640

DHCPv6 Server Time Format Change Reversed

Added by Daryl Morse almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP6
Target version:
Start date:
07/25/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

The DHCPv6 Server Time Format Change setting "Change DHCPv6 display lease time from UTC to local time" is reversed. When the flag is not set, the time zone is local time. When the flag is set, the time zone is local time - (UTC - local time).

This problem was identified in 2.3.1-RELEASE-p5 (amd64) as well as 2.3.2-DEVELOPMENT (amd64).

History

#1 Updated by Phillip Davis almost 3 years ago

That looks like a bug that has been around for a while - it is not reversed, it is doubled.
If you have the checkbox unchecked, then it adds 1 * time zone offset (when it should make no adjustment)
If you have the checkbox checked, then it adds 2 * time zone offset.

Pull request https://github.com/pfsense/pfsense/pull/3079

#2 Updated by Chris Buechler almost 3 years ago

  • Category set to DHCP6
  • Status changed from New to Feedback
  • Target version set to 2.3.2-p1
  • Affected Version set to All

merged, thanks Phil

#3 Updated by Daryl Morse almost 3 years ago

Phillip Davis wrote:

That looks like a bug that has been around for a while - it is not reversed, it is doubled.
If you have the checkbox unchecked, then it adds 1 * time zone offset (when it should make no adjustment)
If you have the checkbox checked, then it adds 2 * time zone offset.

Pull request https://github.com/pfsense/pfsense/pull/3079

I'm running the yesterday's development snapshot and this problem appears to have been fixed.

#4 Updated by Daryl Morse almost 3 years ago

Deleted.

#5 Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved

Resolved per above feedback

Also available in: Atom PDF