summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-14 00:54:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-14 00:54:21 -0300
commit6c512b88c22cb9615a03deb000447e97c20c7080 (patch)
tree44e9bd077f65d793e24f5d3b2862ae13e39f8556 /drivers
parentd9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6 (diff)
UDP.set_send_address to UDP.set_dest_address
Diffstat (limited to 'drivers')
-rw-r--r--drivers/unix/packet_peer_udp_posix.cpp2
-rw-r--r--drivers/unix/packet_peer_udp_posix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.cpp b/drivers/unix/packet_peer_udp_posix.cpp
index 4d9ef6cdae..6adb3eea70 100644
--- a/drivers/unix/packet_peer_udp_posix.cpp
+++ b/drivers/unix/packet_peer_udp_posix.cpp
@@ -230,7 +230,7 @@ int PacketPeerUDPPosix::_get_socket() {
}
-void PacketPeerUDPPosix::set_send_address(const IP_Address& p_address,int p_port) {
+void PacketPeerUDPPosix::set_dest_address(const IP_Address& p_address,int p_port) {
peer_addr=p_address;
peer_port=p_port;
diff --git a/drivers/unix/packet_peer_udp_posix.h b/drivers/unix/packet_peer_udp_posix.h
index 89b8886cf5..ead7174a9d 100644
--- a/drivers/unix/packet_peer_udp_posix.h
+++ b/drivers/unix/packet_peer_udp_posix.h
@@ -73,7 +73,7 @@ public:
virtual IP_Address get_packet_address() const;
virtual int get_packet_port() const;
- virtual void set_send_address(const IP_Address& p_address,int p_port);
+ virtual void set_dest_address(const IP_Address& p_address,int p_port);
static void make_default();