mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Partial fix for discrepancy between docs and implementation
This commit is contained in:
parent
e18d206248
commit
50e131a4ff
3 changed files with 2 additions and 6 deletions
|
@ -1808,7 +1808,6 @@ void Bond::setBondParameters(int policy, SharedPtr<Bond> templateBond, bool useT
|
|||
_qw[ZT_QOS_PDV_IDX] = 0.3f;
|
||||
_qw[ZT_QOS_PLR_IDX] = 0.1f;
|
||||
_qw[ZT_QOS_PER_IDX] = 0.1f;
|
||||
_qw[ZT_QOS_SCP_IDX] = 0.1f;
|
||||
|
||||
_failoverInterval = ZT_BOND_FAILOVER_DEFAULT_INTERVAL;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
/**
|
||||
* Indices for the path quality weight vector
|
||||
*/
|
||||
enum ZT_BondQualityWeightIndex { ZT_QOS_LAT_IDX, ZT_QOS_LTM_IDX, ZT_QOS_PDV_IDX, ZT_QOS_PLR_IDX, ZT_QOS_PER_IDX, ZT_QOS_THR_IDX, ZT_QOS_THM_IDX, ZT_QOS_THV_IDX, ZT_QOS_AGE_IDX, ZT_QOS_SCP_IDX, ZT_QOS_WEIGHT_SIZE };
|
||||
enum ZT_BondQualityWeightIndex { ZT_QOS_LAT_IDX, ZT_QOS_LTM_IDX, ZT_QOS_PDV_IDX, ZT_QOS_PLR_IDX, ZT_QOS_PER_IDX, ZT_QOS_WEIGHT_SIZE };
|
||||
|
||||
/**
|
||||
* Multipath bonding policy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue