Skip to content

Commit b20bc7c

Browse files
yuwatakeszybz
authored andcommitted
network/vlan: drop unnecessary restriction for QoS mapping
Fixes #27460. (cherry picked from commit 4d13d17)
1 parent dbf50f1 commit b20bc7c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/network/netdev/vlan.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,6 @@ int config_parse_vlan_qos_maps(
165165
continue;
166166
}
167167

168-
if (m->to > m->from || m->to == 0 || m->from == 0) {
169-
log_syntax(unit, LOG_WARNING, filename, line, 0, "Invalid %s, ignoring: %s", lvalue, w);
170-
continue;
171-
}
172-
173168
r = set_ensure_consume(s, &vlan_qos_maps_hash_ops, TAKE_PTR(m));
174169
if (r < 0) {
175170
log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to store %s, ignoring: %s", lvalue, w);

0 commit comments

Comments
 (0)