Files
RTLPlayground/html
Erdnusschokolade 592b903305 Fix conf_overwrite filter removing vlan mgmt entries
The vlan/mgmt lookahead split (commit dcc60c3) correctly separated the
patterns so that `vlan N mgmt` and `vlan N <members>` match different
conf_overwrite entries. But the filter that applies the overwrite still
used `item.startsWith(matchStr + " ")` with matchStr = "vlan N", which
also matches "vlan N mgmt" — so the management entry was removed whenever
the VLAN's membership definition was re-saved.

Example: with both `vlan 44 management 2t 4t 5 6t` and `vlan 44 mgmt`
in the config, changing the membership dropped `vlan 44 mgmt` entirely.

Added a `!item.endsWith(" mgmt")` guard so management entries survive the
filter. No reordering is needed: `vlan N mgmt` only sets the global
management_vlan variable (cmd_parser.c) and does not depend on the VLAN
table entry existing, so its position in the config is irrelevant.
2026-06-02 22:52:06 +02:00
..
2026-03-10 06:16:18 +01:00
2025-10-20 18:35:35 +02:00
2025-12-16 20:08:47 +01:00
2026-03-10 06:16:18 +01:00
2026-03-10 06:16:18 +01:00
2026-03-10 06:16:18 +01:00
2025-12-16 20:08:47 +01:00
2026-03-10 06:16:18 +01:00
2025-11-29 12:44:23 +01:00
2025-10-29 15:39:47 +01:00
2025-12-16 20:08:47 +01:00
2026-03-10 06:16:18 +01:00
2026-04-13 14:55:10 +02:00
2026-04-12 13:02:42 +02:00
2025-11-29 12:44:23 +01:00