From 52d56c45700dd788532bac902c4abb655bafa98d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 4 Jun 2021 20:31:16 +0100 Subject: [PATCH] fix --- lgsm/functions/info_messages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/info_messages.sh b/lgsm/functions/info_messages.sh index 3ea5cdca9..b211b9882 100755 --- a/lgsm/functions/info_messages.sh +++ b/lgsm/functions/info_messages.sh @@ -748,7 +748,7 @@ fn_port(){ portname="${1}" porttype="${2}" portprotocol="${3}" - echo -e "${portname}\t${!porttype}\t${portprotocol}\t$(echo "${ssinfo}" | grep ${portprotocol} | grep ${!portname} | wc -l)" + echo -e "${portname}\t${!porttype}\t${portprotocol}\t$(echo "${ssinfo}" | grep ${portprotocol} | grep ${!porttype} | wc -l)" fi }