From b2514bf176537c9196fd4b8aa6699e40c697eedc Mon Sep 17 00:00:00 2001 From: chriz Date: Sun, 25 Jan 2026 22:04:59 +0100 Subject: [PATCH] Rename and auto select. --- html/vlan.html | 2 +- html/vlan.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/html/vlan.html b/html/vlan.html index 8bf5fc3..bd10c3c 100644 --- a/html/vlan.html +++ b/html/vlan.html @@ -23,7 +23,7 @@

Untagged Ports

-

PVID (default VLAN incoming traffic)

+

Default VLAN incoming (PVID)


diff --git a/html/vlan.js b/html/vlan.js index d37d626..d783534 100644 --- a/html/vlan.js +++ b/html/vlan.js @@ -39,6 +39,11 @@ function vlanForm() { function setC(t, p, c){ document.getElementById(t+'port'+p).checked=c; + // When a tagged port is checked, automatically select the PVID port as well + const tportElem = document.getElementById('tport'+p); + if (tportElem && tportElem.checked) { + document.getElementById('pport'+p).checked=true; + } } function utClicked(t){