From 4d13d175f8454df63843a880c78badd4f6d720ca Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 24 May 2023 11:02:36 +0900 Subject: [PATCH] network/vlan: drop unnecessary restriction for QoS mapping Fixes #27460. --- src/network/netdev/vlan.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/network/netdev/vlan.c b/src/network/netdev/vlan.c index a3d961dac3..d61e9486ab 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);