1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix omr-bypass protocol/services list

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-07-10 15:44:21 +02:00
parent b9a973fa0d
commit e28f5cfa78

View file

@ -162,8 +162,8 @@ return L.view.extend({
o.rmempty = false;
o.load = function(section_id) {
return Promise.all([
fs.read_direct('/proc/net/xt_ndpi/proto'),
fs.read_direct('/proc/net/xt_ndpi/host_proto')
fs.lines('/proc/net/xt_ndpi/proto'),
fs.lines('/proc/net/xt_ndpi/host_proto')
]).then(L.bind(function(linesi) {
var proto = linesi[0],
host = linesi[1],
@ -186,7 +186,7 @@ return L.view.extend({
},this));
};
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'),_('When none selected, MPTCP master interface is used.'));
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
o.noaliases = true;
o.noinactive = true;
o.nocreate = true;