mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-01 15:00:54 +00:00
Style fix
This commit is contained in:
parent
acd1f24a3f
commit
66236e91a2
@ -12,11 +12,12 @@
|
||||
/****/
|
||||
|
||||
#include "Bond.hpp"
|
||||
|
||||
#include "Switch.hpp"
|
||||
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
@ -1534,11 +1535,7 @@ void Bond::processActiveBackupTasks(void* tPtr, int64_t now)
|
||||
if ((failoverScoreDifference > 0) && (failoverScoreDifference > thresholdQuantity)) {
|
||||
SharedPtr<Path> oldPath = _paths[_abPathIdx].p;
|
||||
dequeueNextActiveBackupPath(now);
|
||||
log("switch from %s (score: %d) to better link %s (score: %d) (select mode: optimize)",
|
||||
pathToStr(oldPath).c_str(),
|
||||
prevFScore,
|
||||
pathToStr(_paths[_abPathIdx].p).c_str(),
|
||||
newFScore);
|
||||
log("switch from %s (score: %d) to better link %s (score: %d) (select mode: optimize)", pathToStr(oldPath).c_str(), prevFScore, pathToStr(_paths[_abPathIdx].p).c_str(), newFScore);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user