From: Yu Watanabe Date: Wed, 24 May 2023 02:02:36 +0000 (+0900) Subject: network/vlan: drop unnecessary restriction for QoS mapping X-Git-Tag: v254-rc1~398^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d13d175f8454df63843a880c78badd4f6d720ca;p=thirdparty%2Fsystemd.git network/vlan: drop unnecessary restriction for QoS mapping Fixes #27460. --- diff --git a/src/network/netdev/vlan.c b/src/network/netdev/vlan.c index a3d961dac3c..d61e9486abc 100644 --- a/src/network/netdev/vlan.c +++ b/src/network/netdev/vlan.c @@ -165,11 +165,6 @@ int config_parse_vlan_qos_maps( continue; } - if (m->to > m->from || m->to == 0 || m->from == 0) { - log_syntax(unit, LOG_WARNING, filename, line, 0, "Invalid %s, ignoring: %s", lvalue, w); - continue; - } - r = set_ensure_consume(s, &vlan_qos_maps_hash_ops, TAKE_PTR(m)); if (r < 0) { log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to store %s, ignoring: %s", lvalue, w);