Browse Source

ark

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
6d4d1e7f87
  1. 6
      lgsm/functions/info_messages.sh

6
lgsm/functions/info_messages.sh

@ -733,10 +733,10 @@ fn_info_message_ark(){
echo -e "> Game\t${port}\tudp\t$(echo "${ssinfo}" | grep ${port} | wc -l)"
# Don't do arithmetics if ever the port wasn't a numeric value
if [ "${port}" -eq "${port}" ]; then
echo -e "> RAW UDP Socket\t$((port+1))\tudp"
echo -e "> RAW UDP Socket\t$((port+1))\tudp\t$(echo "${ssinfo}" | grep ${port} | wc -l)"
fi
echo -e "> Query\t${queryport}\tudp"
echo -e "> RCON\t${rconport}\ttcp"
echo -e "> Query\t${queryport}\tudp\t$(echo "${ssinfo}" | grep ${queryport} | wc -l)"
echo -e "> RCON\t${rconport}\ttcp\t$(echo "${ssinfo}" | grep ${rconport} | wc -l)"
} | column -s $'\t' -t
}

Loading…
Cancel
Save