Skip to content

Commit bc3ff0a

Browse files
committed
1 parent 88bebcc commit bc3ff0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pf_driver/src/communication/udp_transport.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using boost::asio::ip::udp;
77
UDPTransport::UDPTransport(std::string address, std::string port) : Transport(address, transport_type::udp)
88
{
99
io_service_ = std::make_shared<boost::asio::io_service>();
10-
udp::endpoint local_endpoint = local_endpoint = udp::endpoint(udp::v4(), stoi(port));
10+
udp::endpoint local_endpoint(udp::v4(), stoi(port));
1111

1212
socket_ = std::make_unique<udp::socket>(*io_service_, local_endpoint);
1313
timer_ = std::make_shared<boost::asio::deadline_timer>(*io_service_.get());

0 commit comments

Comments
 (0)