mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01: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
@ -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 New Issue
Block a user