mirror of
https://github.com/moonlight-stream/GS-IPv6-Forwarder.git
synced 2025-07-03 08:15:29 +00:00
Fix busy loop with PCP updates after an interface change event
This commit is contained in:
parent
ecb32a52ae
commit
a6136ee16e
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user