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){