Browse Source

col vint

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

13
lgsm/functions/info_messages.sh

@ -1472,8 +1472,8 @@ fn_info_message_soldat(){
fn_info_message_warfork(){ fn_info_message_warfork(){
{ {
fn_port "header" fn_port "header"
echo -e "> Game\t${port}\tudp" fn_port "Game" port udp
echo -e "> HTTP\t${httpport}\ttcp" fn_port "HTTP" httpport tcp
} | column -s $'\t' -t } | column -s $'\t' -t
} }
@ -1488,15 +1488,16 @@ fn_info_message_pavlovvr(){
fn_info_message_col(){ fn_info_message_col(){
{ {
fn_port "header" fn_port "header"
echo -e "Game\t${port}\ttcp/udp\t$(echo "${ssinfo}" | grep ${port} | wc -l)" fn_port "Game" port udp
echo -e "Steam\t${steamport}\ttcp\t$(echo "${ssinfo}" | grep ${steamport} | wc -l)" fn_port "Query" queryport tcp
fn_port "Steam" steamport tcp
} | column -s $'\t' -t } | column -s $'\t' -t
} }
fn_info_message_vintagestory(){ fn_info_message_vintagestory(){
{ {
echo -e "DESCRIPTION\tDIRECTION\tPORT\tPROTOCOL" fn_port "header"
echo -e "> Game\t${port}\tTCP" fn_port "Game" port tcp
} | column -s $'\t' -t } | column -s $'\t' -t
} }

Loading…
Cancel
Save