Add support for gane steam.
This commit is contained in:
@ -1481,6 +1481,20 @@ if $allow_game_fifa21_out ; then
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
fi
|
||||
if $allow_game_steam_out ; then
|
||||
IFS=',' ; for _port in $standard_game_steam_udp_ports ; do
|
||||
|
||||
if containsElement "${_port}" "${out_udp_port_arr[@]}" ; then
|
||||
continue
|
||||
fi
|
||||
|
||||
game_ports_udp_arr+=("$_port")
|
||||
|
||||
out_udp_port_arr+=("$_port")
|
||||
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
fi
|
||||
|
||||
|
||||
declare -a game_ports_tcp_arr
|
||||
@ -1554,6 +1568,20 @@ if $allow_game_fifa21_out ; then
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
fi
|
||||
if $allow_game_steam_out ; then
|
||||
IFS=',' ; for _port in $standard_game_steam_tcp_ports ; do
|
||||
|
||||
if containsElement "${_port}" "${out_tcp_port_arr[@]}" ; then
|
||||
continue
|
||||
fi
|
||||
|
||||
game_ports_tcp_arr+=("$_port")
|
||||
|
||||
out_tcp_port_arr+=("$_port")
|
||||
|
||||
done
|
||||
IFS="$CUR_IFS"
|
||||
fi
|
||||
|
||||
# ==================================================
|
||||
# END: gather out ports
|
||||
|
Reference in New Issue
Block a user