summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-11 16:47:42 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-01-11 16:47:42 -0800
commit4aa52ffc771e43a8bce96b3f23e1f821ecd684ae (patch)
treee70c097217195b8629b2b7d1611f0d8c5c770319
parent47b62ece1884704eadb6b0ae7aebc6b48ed3f6d9 (diff)
downloadinfinitytier-4aa52ffc771e43a8bce96b3f23e1f821ecd684ae.tar.gz
infinitytier-4aa52ffc771e43a8bce96b3f23e1f821ecd684ae.zip
Software update stuff.
-rw-r--r--service/OneService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 0c1279ca..64850d09 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -697,7 +697,7 @@ public:
uint64_t lastTcpFallbackResolve = 0;
uint64_t lastBindRefresh = 0;
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(;;) {
_run_m.lock();
if (!_run) {