diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-21 09:17:22 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-21 11:47:16 +0200 |
commit | a3d72f7b5a5c3605cdb4b94ec7eaf53a83fd8711 (patch) | |
tree | ede71c79bec894c48c8916e6e6764656b068903a | |
parent | 215d168b78a52b9d7e4e90011ad51e0b1f33c7bc (diff) | |
download | NetworkManager-bg/rh1463077.tar.gz |
libnm-core: setting-bond: add missing xmit_hash_policy valuesbg/rh1463077
Add the missing values "encap2+3" and "encap3+4".
https://bugs.centos.org/view.php?id=11467
-rw-r--r-- | libnm-core/nm-setting-bond.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c index 9b35d8cd75..eda5611722 100644 --- a/libnm-core/nm-setting-bond.c +++ b/libnm-core/nm-setting-bond.c @@ -85,8 +85,8 @@ static const BondDefault defaults[] = { { NM_SETTING_BOND_OPTION_USE_CARRIER, "1", NM_BOND_OPTION_TYPE_INT, 0, 1 }, { NM_SETTING_BOND_OPTION_AD_SELECT, "stable", NM_BOND_OPTION_TYPE_BOTH, 0, 2, { "stable", "bandwidth", "count", NULL } }, - { NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY, "layer2", NM_BOND_OPTION_TYPE_BOTH, 0, 2, - { "layer2", "layer3+4", "layer2+3", NULL } }, + { NM_SETTING_BOND_OPTION_XMIT_HASH_POLICY, "layer2", NM_BOND_OPTION_TYPE_BOTH, 0, 4, + { "layer2", "layer3+4", "layer2+3", "encap2+3", "encap3+4", NULL } }, { NM_SETTING_BOND_OPTION_RESEND_IGMP, "1", NM_BOND_OPTION_TYPE_INT, 0, 255 }, { NM_SETTING_BOND_OPTION_LACP_RATE, "slow", NM_BOND_OPTION_TYPE_BOTH, 0, 1, { "slow", "fast", NULL } }, |