-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firewall: take first region for country, not last
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7ebd5fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AdSchellevis as per IRC, this bug seems to be back :(
7ebd5fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fichtner that doesn't sound very logical, this
core/src/www/firewall_aliases_edit.php
Lines 104 to 117 in 7ebd5fc
is the same as
https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/AliasController.php#L173-L187
What's the test case?
7ebd5fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
United States is in Pacific, not America.
7ebd5fcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fichtner ok, that's weird, first in the file is America, last is Pacific. I can fix it, bit don't know why this would have worked before:
https://github.com/opnsense/core/blob/master/contrib/tzdata/zone.tab#L403-L431