summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-27 15:04:30 +0200
committerGitHub <noreply@github.com>2021-04-27 15:04:30 +0200
commit72bd64c1d50330f508afc3e6587ec113a8ed7605 (patch)
tree67afdbb9d2c30c5e6b3e65bc3b0fb5c944f8ff6d /thirdparty
parent2a1f3c494421e1cf1a675be339dbe0227ebe28da (diff)
parent4d5c8e0b1835be586b2d57d7db0953110d166a14 (diff)
Merge pull request #47398 from Faless/feature/network-local-port-salvaged
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/enet/godot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/enet/godot.cpp b/thirdparty/enet/godot.cpp
index 73fa3c62a2..1c75414be2 100644
--- a/thirdparty/enet/godot.cpp
+++ b/thirdparty/enet/godot.cpp
@@ -172,7 +172,7 @@ public:
}
Error bind(IP_Address p_ip, uint16_t p_port) {
- return udp->listen(p_port, p_ip);
+ return udp->bind(p_port, p_ip);
}
Error sendto(const uint8_t *p_buffer, int p_len, int &r_sent, IP_Address p_ip, uint16_t p_port) {