Skip to content

Commit

Permalink
fix socks udp
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Sep 7, 2024
1 parent bae41f6 commit 5993b5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ get() {
is_protocol=socks
[[ ! $is_socks_user ]] && is_socks_user=233boy
[[ ! $is_socks_pass ]] && is_socks_pass=$uuid
json_str='settings:{auth:"password",accounts:[{user:"'$is_socks_user'",pass:"'$is_socks_pass'"}],udp:true}'
json_str='settings:{auth:"password",accounts:[{user:"'$is_socks_user'",pass:"'$is_socks_pass'"}],udp:true,ip:"0.0.0.0"}'
;;
*)
err "无法识别协议: $is_config_file"
Expand Down
2 changes: 1 addition & 1 deletion xray.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

args=$@
is_sh_ver=v1.22
is_sh_ver=v1.23

. /etc/xray/sh/src/init.sh

0 comments on commit 5993b5f

Please # to comment.