mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-28 07:36:38 +08:00
1450b25475
- Add replaceForwardPortsPreservingInIP to maintain existing InIP values - Track inIpTouched state in frontend to distinguish user changes - Only send inIp in update request when user explicitly changed it - Add unit tests for forward port replacement with preserved InIP
12 lines
760 B
Markdown
12 lines
760 B
Markdown
# 003 Forward Edit Bind IP Preserve
|
|
|
|
## Checklist
|
|
|
|
- [x] Confirm forward edit flow and identify why untouched listen IP gets overwritten.
|
|
- [x] Update frontend forward edit submit logic to only send `inIp` when user explicitly changes listen IP.
|
|
- [x] On tunnel switch in edit form, reset listen IP to default unless user reselects.
|
|
- [x] Update backend forward update logic to preserve existing `forward_port.in_ip` when request omits `inIp` and tunnel is unchanged.
|
|
- [x] Keep backend behavior explicit: if `inIp` is sent (including empty), apply requested value; if tunnel changed with no `inIp`, use default bind.
|
|
- [x] Add regression tests for preserved bind-IP reconstruction helper behavior.
|
|
- [x] Run focused frontend/backend checks for touched files.
|