From adaf3feb65918bd56ac3a24ac4fc68820f794a6e Mon Sep 17 00:00:00 2001 From: Helge Mader Date: Mon, 19 Jul 2021 12:37:35 +0200 Subject: luci-proto-bonding: bugfix xmit_hash_policy dependencies Signed-off-by: Helge Mader --- .../htdocs/luci-static/resources/protocol/bonding.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'protocols/luci-proto-bonding/htdocs/luci-static') 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 aadc2306d3..5af062aaca 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 @@ -322,11 +322,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'), -- cgit v1.2.3