fix socks udp

This commit is contained in:
233boy
2024-09-07 13:07:45 +08:00
parent f75e3f1187
commit 7270c1a16d
2 changed files with 2 additions and 2 deletions

View File

@@ -1303,7 +1303,7 @@ get() {
net=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"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
args=$@
is_sh_ver=v4.21
is_sh_ver=v4.22
. /etc/v2ray/sh/src/init.sh