Browse Source

If multiple IP addresses display as not set in details

Daniel Gibbs 7 years ago
parent
commit
973dabf1e1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lgsm/functions/info_messages.sh

+ 5 - 1
lgsm/functions/info_messages.sh

@@ -139,7 +139,11 @@ fn_info_message_gameserver(){
 		fi
 
 		# Server ip
-		echo -e "${blue}Server IP:\t${default}${ip}:${port}"
+		if [ ${multiple_ip} == 1 ]; then
+		    echo -e "${blue}Server IP:\t${default}NOT SET"
+		else
+		    echo -e "${blue}Server IP:\t${default}${ip}:${port}"
+		fi
 
 		# External server ip
 		if [ -n "${extip}" ]; then