Partial fix for discrepancy between docs and implementation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user