Explorar el Código

Software update stuff.

Adam Ierymenko hace 9 años
padre
commit
4aa52ffc77
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      service/OneService.cpp

+ 1 - 1
service/OneService.cpp

@@ -697,7 +697,7 @@ public:
 			uint64_t lastTcpFallbackResolve = 0;
 			uint64_t lastTcpFallbackResolve = 0;
 			uint64_t lastBindRefresh = 0;
 			uint64_t lastBindRefresh = 0;
 			uint64_t lastUpdateCheck = clockShouldBe;
 			uint64_t lastUpdateCheck = clockShouldBe;
-			uint64_t lastLocalInterfaceAddressCheck = (OSUtils::now() - ZT_LOCAL_INTERFACE_CHECK_INTERVAL) + 15000; // do this in 15s to give portmapper time to configure and other things time to settle
+			uint64_t lastLocalInterfaceAddressCheck = (clockShouldBe - ZT_LOCAL_INTERFACE_CHECK_INTERVAL) + 15000; // do this in 15s to give portmapper time to configure and other things time to settle
 			for(;;) {
 			for(;;) {
 				_run_m.lock();
 				_run_m.lock();
 				if (!_run) {
 				if (!_run) {