Fix busy loop with PCP updates after an interface change event

This commit is contained in:
Cameron Gutman 2018-11-10 22:27:22 -08:00
parent ecb32a52ae
commit a6136ee16e

View File

@ -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);