From 736b162d9678de96b30af34227d9837ae18ff624 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 9 May 2021 14:54:03 +0100 Subject: [PATCH] onset --- lgsm/functions/info_messages.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }