Mistakenly set tcp for top speed server. Fixed that.
This commit is contained in:
@@ -274,12 +274,6 @@ configure_topspeed_firewall() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# `sudoFlags` is initialized by the main launcher before sourcing this file.
|
# `sudoFlags` is initialized by the main launcher before sourcing this file.
|
||||||
# shellcheck disable=SC2154
|
|
||||||
if ! sudo "${sudoFlags[@]}" ufw allow "${topspeedServerPort}/tcp"; then
|
|
||||||
msgbox "Failed to allow the Top Speed server port ${topspeedServerPort}/tcp."
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
if ! sudo "${sudoFlags[@]}" ufw allow "${topspeedServerPort}/udp"; then
|
if ! sudo "${sudoFlags[@]}" ufw allow "${topspeedServerPort}/udp"; then
|
||||||
msgbox "Failed to allow the Top Speed server port ${topspeedServerPort}/udp."
|
msgbox "Failed to allow the Top Speed server port ${topspeedServerPort}/udp."
|
||||||
|
|||||||
Reference in New Issue
Block a user