From e28f5cfa78ac49a73fdcda85d3e6cff9e283b5f5 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 10 Jul 2020 15:44:21 +0200 Subject: [PATCH] Fix omr-bypass protocol/services list --- .../luci-static/resources/view/services/omr-bypass.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-omr-bypass/htdocs/luci-static/resources/view/services/omr-bypass.js b/luci-app-omr-bypass/htdocs/luci-static/resources/view/services/omr-bypass.js index bc9ae76e3..5317b2367 100644 --- a/luci-app-omr-bypass/htdocs/luci-static/resources/view/services/omr-bypass.js +++ b/luci-app-omr-bypass/htdocs/luci-static/resources/view/services/omr-bypass.js @@ -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;