diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 9a3e3fd76..412b0d0fc 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -933,9 +933,9 @@ fn_info_message_mcb(){ fn_info_message_onset(){ { echo -e "${lightblue}DESCRIPTION\tPORT\tPROTOCOL\tLISTEN${default}" - echo -e "> Game\t${port}\tudp" - echo -e "> Query\t${queryport}\tudp" - echo -e "> HTTP\t${httpport}\ttcp" + echo -e "Game\t${port}\tudp\t$(echo "${ssinfo}" | grep ${port} | wc -l)" + echo -e "Query\t${queryport}\tudp\t$(echo "${ssinfo}" | grep ${queryport} | wc -l)" + echo -e "HTTP\t${httpport}\ttcp\t$(echo "${ssinfo}" | grep ${httpport} | wc -l)" } | column -s $'\t' -t }