conf/post_decalrations.conf: add ports of game 'Call of duty'.
This commit is contained in:
parent
ec050e7f7e
commit
9fbc59fe09
@ -1524,6 +1524,44 @@ if $allow_game_steam_out ; then
|
|||||||
done
|
done
|
||||||
IFS="$CUR_IFS"
|
IFS="$CUR_IFS"
|
||||||
fi
|
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=()
|
declare -a game_ports_tcp_arr=()
|
||||||
@ -1611,6 +1649,43 @@ if $allow_game_steam_out ; then
|
|||||||
done
|
done
|
||||||
IFS="$CUR_IFS"
|
IFS="$CUR_IFS"
|
||||||
fi
|
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
|
# END: gather out ports
|
||||||
|
Loading…
Reference in New Issue
Block a user