Fix issues that prevent user multipath preferences from being respected
This commit is contained in:
parent
f176e2539e
commit
bf7dddbd84
4 changed files with 29 additions and 17 deletions
|
@ -2510,7 +2510,7 @@ public:
|
|||
}
|
||||
_node->bondController()->addCustomLink(customPolicyStr, new Link(linkNameStr,ipvPref,mtu,capacity,enabled,linkMode,failoverToStr));
|
||||
}
|
||||
std::string linkSelectMethodStr(OSUtils::jsonString(customPolicy["activeReselect"],"optimize"));
|
||||
std::string linkSelectMethodStr(OSUtils::jsonString(customPolicy["activeReselect"],"always"));
|
||||
if (linkSelectMethodStr == "always") {
|
||||
newTemplateBond->setLinkSelectMethod(ZT_BOND_RESELECTION_POLICY_ALWAYS);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue