mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Update ip.sh
This commit is contained in:
parent
482e19b06f
commit
4ef55bb5aa
1 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,8 @@ get_user_ips() {
|
|||
get_user_ip() {
|
||||
ip=$(get_user_ips |head -n1)
|
||||
if [ -z "$ip" ]; then
|
||||
check_result $E_NOTEXIST "no IP is available"
|
||||
ip="no"
|
||||
#check_result $E_NOTEXIST "no IP is available"
|
||||
fi
|
||||
local_ip=$ip
|
||||
nat=$(grep "^NAT" $VESTA/data/ips/$ip |cut -f 2 -d \')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue