mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-11 05:56:55 +03:00
Merge pull request #50 from itdoginfo/fix/many-sni-support
feat: update network interface loading in podkop.js
This commit is contained in:
@@ -225,7 +225,11 @@ function createConfigSection(section, map, network) {
|
|||||||
o = s.taboption('basic', form.ListValue, 'interface', _('Network Interface'), _('Select network interface for VPN connection'));
|
o = s.taboption('basic', form.ListValue, 'interface', _('Network Interface'), _('Select network interface for VPN connection'));
|
||||||
o.depends('mode', 'vpn');
|
o.depends('mode', 'vpn');
|
||||||
o.ucisection = s.section;
|
o.ucisection = s.section;
|
||||||
getNetworkInterfaces(o);
|
o.load = function (section_id) {
|
||||||
|
return getNetworkInterfaces(this).then(() => {
|
||||||
|
return this.super('load', section_id);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
o = s.taboption('basic', form.Flag, 'domain_list_enabled', _('Community Lists'));
|
o = s.taboption('basic', form.Flag, 'domain_list_enabled', _('Community Lists'));
|
||||||
o.default = '0';
|
o.default = '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user