mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
JS: vlan don't accept u-suffic anymore.
Als update CHANGELOG about CPU_PORT
This commit is contained in:
1 parent
373a21f4a1
commit
6b39bcc448
2 files changed
+6
-1
No files matched your search
@@ -14,6 +14,11 @@
|
|||||||
- VLAN don't accept port `u`-suffix anymore.
|
- VLAN don't accept port `u`-suffix anymore.
|
||||||
So `vlan 1 4u` is not valid anymore.
|
So `vlan 1 4u` is not valid anymore.
|
||||||
Replace it with `vlan 1 4`.
|
Replace it with `vlan 1 4`.
|
||||||
|
- Commands
|
||||||
|
- port zero/`0` is treated as the `CPU_PORT`. #326
|
||||||
|
- Many commands don't accept the CPU_PORT anymore. See #334.
|
||||||
|
When the CPU_PORT is needed, the command/service will add the CPU_PORT automaticly.
|
||||||
|
Only `isolate` accept the CPU_PORT as destination port.
|
||||||
|
|
||||||
## [v0.1_aplha] - 2025-11-03
|
## [v0.1_aplha] - 2025-11-03
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ const conf_cmds = [
|
|||||||
/^passwd\s+\S+$/,
|
/^passwd\s+\S+$/,
|
||||||
/^vlan\s+\d{1,4}\s+d$/,
|
/^vlan\s+\d{1,4}\s+d$/,
|
||||||
/^vlan\s+\d{1,4}\s+mgmt$/,
|
/^vlan\s+\d{1,4}\s+mgmt$/,
|
||||||
/^vlan\s+\d{1,4}(\s+[a-zA-Z]\w*)?(\s+\d{1,2}[tu]?)+$/,
|
/^vlan\s+\d{1,4}(\s+[a-zA-Z]\w*)?(\s+[1-9]t?)+$/,
|
||||||
/^pvid\s+\d{1,2}\s+\d{1,4}$/,
|
/^pvid\s+\d{1,2}\s+\d{1,4}$/,
|
||||||
/^ingress(\s+\d{1,2}[tua])+$/,
|
/^ingress(\s+\d{1,2}[tua])+$/,
|
||||||
/^ingress\s+[tua]$/,
|
/^ingress\s+[tua]$/,
|
||||||
|
|||||||
Reference in new issue
Block a user