Browse Source

if configip not 0.0.0.0

pull/3015/head
Daniel Gibbs 5 years ago
parent
commit
706ab64dd4
  1. 2
      lgsm/functions/check_ip.sh

2
lgsm/functions/check_ip.sh

@ -24,7 +24,7 @@ getipwc=$(${ipcommand} -o -4 addr | awk '{print $4}' | grep -oe '\([0-9]\{1,3\}\
if [ -n "${ip}" ]&&[ "${ip}" != "0.0.0.0" ]; then
queryips=( "${ip}" )
# If game config does have an IP set.
elif [ -n "${configip}" ];then
elif [ -n "${configip}" ]&&[ "${configip}" != "0.0.0.0" ];then
queryips=( "${configip}" )
ip="${configip}"
# If no ip is set by the user.

Loading…
Cancel
Save