diff --git a/lgsm/functions/command_debug.sh b/lgsm/functions/command_debug.sh index 0ff223a50..29b2ec77f 100644 --- a/lgsm/functions/command_debug.sh +++ b/lgsm/functions/command_debug.sh @@ -52,6 +52,12 @@ if [ -n "${glibcrequired}" ]; then fi # Server ip echo -e "${blue}Server IP:\t${default}${ip}:${port}" +# External server ip +if [ -n "${extip}" ]; then + if [ "${ip}" != "${extip}" ]; then + echo -e "${blue}Internet IP:\t${default}${extip}:${port}" + fi +fi # Server password if [ -n "${serverpassword}" ]; then echo -e "${blue}Server password:\t${default}${serverpassword}"