Skip to content

Commit

Permalink
fix(generator): fix generate brutal bw
Browse files Browse the repository at this point in the history
  • Loading branch information
1715173329 authored Dec 8, 2023
1 parent af4850b commit 56aaa4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions root/etc/homeproxy/scripts/generate_client.uc
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ function generate_outbound(node) {
padding: (node.multiplex_padding === '1'),
brutal: (node.multiplex_brutal === '1') ? {
enabled: true,
up_mbps: node.multiplex_brutal_down,
down_mbps: node.multiplex_brutal_up
up_mbps: node.multiplex_brutal_up,
down_mbps: node.multiplex_brutal_down
} : null
} : null,
tls: (node.tls === '1') ? {
Expand Down
4 changes: 2 additions & 2 deletions root/etc/homeproxy/scripts/generate_server.uc
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ uci.foreach(uciconfig, uciserver, (cfg) => {
padding: (cfg.multiplex_padding === '1'),
brutal: (cfg.multiplex_brutal === '1') ? {
enabled: true,
up_mbps: cfg.multiplex_brutal_down,
down_mbps: cfg.multiplex_brutal_up
up_mbps: cfg.multiplex_brutal_up,
down_mbps: cfg.multiplex_brutal_down
} : null
} : null,

Expand Down

0 comments on commit 56aaa4f

Please sign in to comment.