Using PVID=0 for the situation where the port is only in tagged

membership. This was tested on HI_K0801WS and it appears to not
have any negative side-effects
This commit is contained in:
Rob Emery committed 2026-10-25 09:06:30 +00:00
1 parent 834403b97b
commit c46261e052
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -1619,7 +1619,6 @@ function vlan2str(i, n, t, u) {
function pvidcmd(i, p){
return "pvid " + p + " " + i;
}
const parkingVLAN=4094;
function mySplit(a){
if(a.trim()=="") return [];
return a.trim().split(",");
@@ -1674,7 +1673,7 @@ function vlanApply() {
//park all ports with only tagged membership
for (p in vlansPerPort){
if (vlansPerPort[p].u.length == 0 && vlansPerPort[p].t.length > 0) {
tail_cmds.push(pvidcmd(parkingVLAN, p));
tail_cmds.push(pvidcmd(0, p));
}
}