From: Helge Mader Date: Mon, 19 Jul 2021 10:37:35 +0000 (+0200) Subject: luci-proto-bonding: bugfix xmit_hash_policy dependencies X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=085bb7ce659320ee5e64ffe7c0d76b3141a00ee4;p=project%2Fluci.git luci-proto-bonding: bugfix xmit_hash_policy dependencies Signed-off-by: Helge Mader (cherry picked from commit adaf3feb65918bd56ac3a24ac4fc68820f794a6e) --- diff --git a/protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js b/protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js index b0ed5b6a11..4c774290f0 100644 --- a/protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js +++ b/protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js @@ -324,11 +324,10 @@ return network.registerProtocol('bonding', { o.value('layer3+4', _('Use upper layer protocol information (layer3+4)')); o.value('encap2+3', _('Use XOR of hardware MAC addresses and IP addresses, rely on skb_flow_dissect (encap2+3)')); o.value('encap3+4', _('Use upper layer protocol information, rely on skb_flow_dissect (encap3+4)')); - o.depends('bonding_policy', 'balance-rr'); - o.depends('bonding_policy', 'active-backup'); - o.depends('bonding_policy', 'balance-tlb'); - o.depends('bonding_policy', 'balance-alb'); o.depends('bonding_policy', 'balance-xor'); + o.depends('bonding_policy', 'balance-alb'); + o.depends('bonding_policy', 'balance-tlb'); + o.depends('bonding_policy', '802.3ad'); o = s.taboption('advanced', form.Value, 'resend_igmp', _('Number of IGMP membership reports'),