mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
Disallow timezone specification, but still allow it to be present
if it is zero (so that we can parse old config files).
This commit is contained in:
parent
e80859e4d6
commit
021ce2d62e
1 changed files with 2 additions and 2 deletions
|
|
@ -932,8 +932,8 @@ check_nexus(dev, num)
|
|||
|
||||
check_tz()
|
||||
{
|
||||
if (abs(zone) > 12 * 60)
|
||||
yyerror("timezone is unreasonable");
|
||||
if (zone != 0 || dst != 0)
|
||||
yyerror("timezone specification is no longer permitted");
|
||||
else
|
||||
hadtz = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue