diff options
| author | Adam Ierymenko <[email protected]> | 2021-05-25 13:04:14 -0400 |
|---|---|---|
| committer | Adam Ierymenko <[email protected]> | 2021-05-25 13:04:14 -0400 |
| commit | 18508b5a2e3763ec28022f4e75cdb913a96996ce (patch) | |
| tree | a18503bbfa84e289cc82509c01b10086aafadce5 /controller/EmbeddedNetworkController.cpp | |
| parent | 621898f3c5f65fc8589efb6af17c91cc4a23be2c (diff) | |
Build fix.
Diffstat (limited to 'controller/EmbeddedNetworkController.cpp')
| -rw-r--r-- | controller/EmbeddedNetworkController.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 37f93ba0..cc8bce04 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1379,9 +1379,6 @@ void EmbeddedNetworkController::_request( // If we made it this far, they are authorized (and authenticated). // ------------------------------------------------------------------------- - nc->authenticationURL = authenticationURL; - nc->authenticationExpiryTime = authenticationExpiryTime; - int64_t credentialtmd = ZT_NETWORKCONFIG_DEFAULT_CREDENTIAL_TIME_MAX_MAX_DELTA; if (now > ns.mostRecentDeauthTime) { // If we recently de-authorized a member, shrink credential TTL/max delta to @@ -1407,7 +1404,8 @@ void EmbeddedNetworkController::_request( Utils::scopy(nc->name,sizeof(nc->name),OSUtils::jsonString(network["name"],"").c_str()); nc->mtu = std::max(std::min((unsigned int)OSUtils::jsonInt(network["mtu"],ZT_DEFAULT_MTU),(unsigned int)ZT_MAX_MTU),(unsigned int)ZT_MIN_MTU); nc->multicastLimit = (unsigned int)OSUtils::jsonInt(network["multicastLimit"],32ULL); - + nc->authenticationURL = authenticationURL; + nc->authenticationExpiryTime = authenticationExpiryTime; std::string rtt(OSUtils::jsonString(member["remoteTraceTarget"],"")); if (rtt.length() == 10) { |
