Skip to content

Commit e5f0a52

Browse files
yuwatabluca
authored andcommitted
network/vlan: drop unnecessary restriction for QoS mapping
Fixes #27460. (cherry picked from commit 4d13d17) (cherry picked from commit b20bc7c) (cherry picked from commit 35f61f0)
1 parent 1807b8f commit e5f0a52

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
@@ -166,11 +166,6 @@ int config_parse_vlan_qos_maps(
166166
continue;
167167
}
168168

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

0 commit comments

Comments
 (0)