From: Yu Watanabe Date: Thu, 10 Sep 2020 04:52:27 +0000 (+0900) Subject: vlan: downgrade error level if the error will be ignored X-Git-Tag: v247-rc1~262^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8add8b508d2838dbc25649f6b4345922f1c896c4;p=thirdparty%2Fsystemd.git vlan: downgrade error level if the error will be ignored --- diff --git a/src/shared/vlan-util.c b/src/shared/vlan-util.c index a4b42df85ba..180f56ede86 100644 --- a/src/shared/vlan-util.c +++ b/src/shared/vlan-util.c @@ -86,11 +86,13 @@ int config_parse_vlanid( r = parse_vlanid(rvalue, id); if (r == -ERANGE) { - log_syntax(unit, LOG_ERR, filename, line, r, "VLAN identifier outside of valid range 0…4094, ignoring: %s", rvalue); + log_syntax(unit, LOG_WARNING, filename, line, r, + "VLAN identifier outside of valid range 0…4094, ignoring: %s", rvalue); return 0; } if (r < 0) { - log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse VLAN identifier value, ignoring: %s", rvalue); + log_syntax(unit, LOG_WARNING, filename, line, r, + "Failed to parse VLAN identifier value, ignoring: %s", rvalue); return 0; }