1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Rename IP_Unix, IP_Address and TCP_Server to remove underscores

This commit is contained in:
Hugo Locurcio
2021-05-06 02:48:18 +02:00
parent 758bccf364
commit 3f078c99f6
60 changed files with 253 additions and 253 deletions

View File

@@ -1138,14 +1138,14 @@ void EditorSettings::setup_language() {
}
void EditorSettings::setup_network() {
List<IP_Address> local_ip;
List<IPAddress> local_ip;
IP::get_singleton()->get_local_addresses(&local_ip);
String hint;
String current = has_setting("network/debug/remote_host") ? get("network/debug/remote_host") : "";
String selected = "127.0.0.1";
// Check that current remote_host is a valid interface address and populate hints.
for (List<IP_Address>::Element *E = local_ip.front(); E; E = E->next()) {
for (List<IPAddress>::Element *E = local_ip.front(); E; E = E->next()) {
String ip = E->get();
// link-local IPv6 addresses don't work, skipping them