mirror of
https://github.com/1andrevich/homeproxy-hiddify.git
synced 2026-08-11 01:37:26 +00:00
fix(rpcd): fix mptcp condition
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
0621ca0bce
commit
2d801fc236
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ const methods = {
|
|||
if (fd) {
|
||||
for (let line = fd.read('line'); length(line); line = fd.read('line')) {
|
||||
if (match(trim(line), /Environment: (go[0-9\.]+)/))
|
||||
features['has_mptcp'] = (index(line, 'go1.19') !== -1) ? true : false;
|
||||
features['has_mptcp'] = (index(line, 'go1.19') === -1) ? true : false;
|
||||
|
||||
let tags = match(trim(line), /Tags: (.*)/);
|
||||
if (!tags)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue