mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix when there is multiple redir listener
This commit is contained in:
parent
c68a5f0db8
commit
56de8fc06d
1 changed files with 2 additions and 2 deletions
|
@ -202,8 +202,8 @@ ss_rules_nft_gen() {
|
||||||
local tmp="/tmp/ssrules"
|
local tmp="/tmp/ssrules"
|
||||||
json_init
|
json_init
|
||||||
json_add_string o_remote_servers "$remote_servers"
|
json_add_string o_remote_servers "$remote_servers"
|
||||||
json_add_int o_redir_tcp_port "$local_port_tcp"
|
json_add_string o_redir_tcp_port "$local_port_tcp"
|
||||||
json_add_int o_redir_udp_port "$local_port_udp"
|
json_add_string o_redir_udp_port "$local_port_udp"
|
||||||
json_add_string o_ifnames "$ifnames"
|
json_add_string o_ifnames "$ifnames"
|
||||||
json_add_string o_local_default "$local_default"
|
json_add_string o_local_default "$local_default"
|
||||||
json_add_string o_src_bypass "$src_ips_bypass"
|
json_add_string o_src_bypass "$src_ips_bypass"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue