Skip to content

Commit

Permalink
luci: fix #3449
Browse files Browse the repository at this point in the history
  • Loading branch information
lwb1978 committed Oct 29, 2024
1 parent 06b7f5f commit 3018a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luci-app-passwall/root/usr/share/passwall/app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -981,10 +981,10 @@ run_redir() {

case "$(config_t_get global direct_dns_mode "auto")" in
udp)
_args="${_args} direct_dns_udp_server=$(config_t_get global direct_dns_udp 223.5.5.5 | sed 's/:/#/g')
_args="${_args} direct_dns_udp_server=$(config_t_get global direct_dns_udp 223.5.5.5 | sed 's/:/#/g')"
;;
tcp)
_args="${_args} direct_dns_tcp_server=$(config_t_get global direct_dns_tcp 223.5.5.5 | sed 's/:/#/g')
_args="${_args} direct_dns_tcp_server=$(config_t_get global direct_dns_tcp 223.5.5.5 | sed 's/:/#/g')"
;;
dot)
local tmp_dot_dns=$(config_t_get global direct_dns_dot "tls://[email protected]")
Expand Down

0 comments on commit 3018a61

Please sign in to comment.