mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🎁 Sync 2026-11-03 22:44:23
This commit is contained in:
1 parent
c98c555863
commit
b064eba78c
13 files changed
+428
-57
No files matched your search
@@ -162,6 +162,16 @@ return view.extend({
|
||||
uci.set('firewall', section_id, 'flow_offloading_hw',
|
||||
(value === '2' && L.hasSystemFeature('offloading_hw')) ? '1' : null);
|
||||
};
|
||||
|
||||
if (fw4 && L.hasSystemFeature('offloading_hw')) {
|
||||
o = s.option(form.ListValue, 'flow_offloading_hw_ipv6', _('Hardware offloading protocols'));
|
||||
o.value('1', _('IPv4+v6 acceleration'));
|
||||
o.value('0', _('IPv4 acceleration'));
|
||||
o.default = '1';
|
||||
o.rmempty = false;
|
||||
o.retain = true;
|
||||
o.depends('offloading_type', '2');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user