mirror of
https://github.com/moonlight-stream/GS-IPv6-Forwarder.git
synced 2026-06-18 22:40:54 +00:00
Fix busy loop with PCP updates after an interface change event
This commit is contained in:
@@ -581,6 +581,7 @@ int Run(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
ResetEvent(ifaceChangeEvent);
|
||||||
UpdatePcpPinholes();
|
UpdatePcpPinholes();
|
||||||
} while (WaitForSingleObject(ifaceChangeEvent, 120 * 1000) != WAIT_FAILED);
|
} while (WaitForSingleObject(ifaceChangeEvent, 120 * 1000) != WAIT_FAILED);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user