X-Git-Url: https://git.llucax.com/software/posixx.git/blobdiff_plain/3e0a7ecf57252241e9d5a87720ed6359818f8d28..808b1eca4692bb7d76270d992e1c62f4df85939f:/test/socket/inet/common.hpp diff --git a/test/socket/inet/common.hpp b/test/socket/inet/common.hpp index 9884c7e..4829557 100644 --- a/test/socket/inet/common.hpp +++ b/test/socket/inet/common.hpp @@ -18,7 +18,7 @@ void clean_test_address(posixx::socket::inet::socket& socket, socket.opt< posixx::socket::opt::REUSEADDR >(true); } -static posixx::socket::inet::sockaddr test_address1(PORT1, IP); -static posixx::socket::inet::sockaddr test_address2(PORT2, IP); +static posixx::socket::inet::sockaddr test_address1(IP, PORT1); +static posixx::socket::inet::sockaddr test_address2(IP, PORT2); #endif // TEST_SOCKET_IP_COMMON_HPP_