Commit 2d24187
ClashFX Team
fix: reset traffic stream on IP change for all websocket modes
Same gating bug as the wake-from-sleep handler: the IP-change
subscription only reset the stream when a remote-control config was
active, leaving local Enhanced Mode users with a stale websocket
after Wi-Fi roaming or DHCP lease renewal. Switch the gate to
!useDirectApi() so any websocket-mode user (TUN or external
controller) gets a fresh stream when the primary IP changes.1 parent 3dbeeb0 commit 2d24187
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| |||
0 commit comments