mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-03-09 00:02:00 -07:00
_bond_m guards _bond, not _paths_m (#1965)
This commit is contained in:
parent
f813211cdd
commit
09acbce8db
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ public:
|
|||
* @return The bonding policy used to reach this peer
|
||||
*/
|
||||
inline int8_t bondingPolicy() {
|
||||
Mutex::Lock _l(_paths_m);
|
||||
Mutex::Lock _l(_bond_m);
|
||||
if (_bond) {
|
||||
return _bond->policy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue