mirror of https://gitlab.com/rwkgyg/CFwarp.git
Update CFwarp1.sh
This commit is contained in:
parent
4eb78f741a
commit
78504f6c84
|
@ -240,7 +240,7 @@ cp -f /etc/wireguard/wgcf-profile.conf /etc/wireguard/wgcf.conf >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
nat4(){
|
nat4(){
|
||||||
[[ -n $(ip route get 162.159.192.1 | grep -oP 'src \K\S+') ]] && ABC4=$ud4 || ABC4=echo
|
[[ -n $(ip route get 162.159.192.1 2>/dev/null | grep -oP 'src \K\S+') ]] && ABC4=$ud4 || ABC4=echo
|
||||||
}
|
}
|
||||||
|
|
||||||
WGCFv4(){
|
WGCFv4(){
|
||||||
|
|
Loading…
Reference in New Issue