mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Fix link creation bug in active-backup mode
This commit is contained in:
parent
96ee7252c2
commit
1a400d33fd
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ void Bond::nominatePathToBond(const SharedPtr<Path>& path, int64_t now)
|
||||||
/**
|
/**
|
||||||
* Ensure the link is allowed and the path is not already present
|
* Ensure the link is allowed and the path is not already present
|
||||||
*/
|
*/
|
||||||
if (! RR->bc->linkAllowed(_policyAlias, getLink(path))) {
|
if (! RR->bc->linkAllowed(_policyAlias, getLinkBySocket(_policyAlias, path->localSocket(), true))) {
|
||||||
debug("link %s is not permitted according to user-specified rules", pathToStr(path).c_str());
|
debug("link %s is not permitted according to user-specified rules", pathToStr(path).c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue