summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-bonding/htdocs/luci-static
diff options
context:
space:
mode:
authorHelge Mader <ma@dev.tdt.de>2021-07-19 12:37:35 +0200
committerHelge Mader <ma@dev.tdt.de>2021-07-19 12:37:35 +0200
commitadaf3feb65918bd56ac3a24ac4fc68820f794a6e (patch)
tree9e8c2d3ae7d7b0f3a4ede6b26bfd5d25b51923a5 /protocols/luci-proto-bonding/htdocs/luci-static
parent4d3c0f347c5f3caffd39d4d30583e912af5455a2 (diff)
luci-proto-bonding: bugfix xmit_hash_policy dependencies
Signed-off-by: Helge Mader <ma@dev.tdt.de>
Diffstat (limited to 'protocols/luci-proto-bonding/htdocs/luci-static')
-rw-r--r--protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js7
1 files changed, 3 insertions, 4 deletions
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'),