Files
Netcatty/components
陈奇 f4b5beec01 fix(host-details): auto-switch default port when toggling primary protocol between SSH/Telnet
When a user toggles the primary protocol to Telnet, the port field
previously stayed at 22 (SSH default). Now it auto-switches:
- SSH → Telnet: port 22 → 23
- Telnet → SSH: port 23 → 22
Custom ports are preserved.

Also fixes the save handler to fall back to 23 for telnet when
no explicit port is set, matching the telnet protocol default.

Closes #1251
2026-06-05 02:09:09 +00:00
..
2026-06-01 21:03:43 +08:00
2026-06-01 21:03:43 +08:00
2026-06-02 01:15:36 +08:00
2026-06-02 01:28:39 +08:00
2026-05-07 12:57:54 +08:00
2026-06-01 21:03:43 +08:00
2026-06-01 21:03:43 +08:00
2026-06-01 21:03:43 +08:00
2026-06-04 18:12:54 +08:00
2026-06-02 12:01:40 +08:00