diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-13 18:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-13 18:43:11 +0200 |
commit | 88136bbc9897f506e4b4de21378f523b6099cf41 (patch) | |
tree | c784a724998d5754df29e691e9a90a16562654ac /src/network | |
parent | Merge pull request #8959 from yuwata/bash-completion-analyze (diff) | |
parent | basic: add log_level argument to timezone_is_valid (diff) | |
download | systemd-88136bbc9897f506e4b4de21378f523b6099cf41.tar.xz systemd-88136bbc9897f506e4b4de21378f523b6099cf41.zip |
Merge pull request #8962 from floppym/issue8905
basic: timezone_is_valid: check for magic bytes "TZif"
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index daa30cb8f0..2b03fc254b 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -1012,7 +1012,7 @@ int config_parse_timezone( if (r < 0) return r; - if (!timezone_is_valid(tz)) { + if (!timezone_is_valid(tz, LOG_ERR)) { log_syntax(unit, LOG_ERR, filename, line, 0, "Timezone is not valid, ignoring assignment: %s", rvalue); free(tz); return 0; |