1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-01-24 15:32:32 +01:00
parent c68a5f0db8
commit 56de8fc06d

View file

@ -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"