From 1a400d33fde970d8d0616463a4b9509e72155584 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 18 May 2022 10:04:53 -0700 Subject: [PATCH] Fix link creation bug in active-backup mode --- node/Bond.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Bond.cpp b/node/Bond.cpp index d633d7c21..0c4037e75 100644 --- a/node/Bond.cpp +++ b/node/Bond.cpp @@ -236,7 +236,7 @@ void Bond::nominatePathToBond(const SharedPtr& path, int64_t now) /** * 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()); return; }