conf/post_decalrations.conf: add ports of game 'Call of duty'.

This commit is contained in:
Christoph 2022-10-30 18:16:39 +01:00
parent ec050e7f7e
commit 9fbc59fe09

View File

@ -1524,6 +1524,44 @@ if $allow_game_steam_out ; then
done
IFS="$CUR_IFS"
fi
if $allow_game_call_of_duty ; then
IFS=',' ; for _port in $standard_game_call_of_duty_pc_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=',' ; for _port in $standard_game_call_of_duty_ps_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=',' ; for _port in $standard_game_call_of_duty_xbox_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=()
@ -1611,6 +1649,43 @@ if $allow_game_steam_out ; then
done
IFS="$CUR_IFS"
fi
if $allow_game_call_of_duty ; then
IFS=',' ; for _port in $standard_game_call_of_duty_pc_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=',' ; for _port in $standard_game_call_of_duty_ps_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=',' ; for _port in $standard_game_call_of_duty_xbox_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