Merge pull request #238 from zerotier/brenton/fix-reorder-ctor

Fix: field '_lastRestart' will be initialized after field '_tcpFallba…
This commit is contained in:
Joseph Henry
2023-08-02 09:19:19 -07:00
committed by GitHub

View File

@@ -181,8 +181,8 @@ NodeService::NodeService()
, _allowTcpRelay(true)
, _forceTcpRelay(false)
, _lastSendToGlobalV4(0)
, _lastRestart(0)
, _tcpFallbackTunnel((TcpConnection*)0)
, _lastRestart(0)
, _nextBackgroundTaskDeadline(0)
, _run(false)
, _termReason(ONE_STILL_RUNNING)