Skip to content
Commit 01eac366 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-network: fix tagging/pvid state parsing in bridge-vlan ports



The previous code naively looked for a `t` in the entire port spec,
wrongly matching untagged ports having a `t` in their name, such
as `eth0`.

Rework the logic to be more strict when parsing the port member
specification to avoid this issue.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent e8a6f0bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment