Skip to content

Commit

Permalink
actually return the port heh
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzjer committed Mar 27, 2014
1 parent e16aabb commit 2c57d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GSModule/GSUdpServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ IPAddress GSUdpServer::remoteIP()

uint16_t GSUdpServer::remotePort()
{
return this->rx_frame.ip;
return this->rx_frame.port;
}

int GSUdpServer::beginPacket(IPAddress ip, uint16_t port)
Expand Down

0 comments on commit 2c57d9f

Please sign in to comment.