mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Problem: test_bind used with explicit endpoint where bind_loopback_ipv4 could be used
Solution: use bind_loopback_ipv4 instead
This commit is contained in:
@@ -87,8 +87,7 @@ void test_app_meta_reqrep ()
|
||||
TEST_ASSERT_EQUAL_INT (-1, rc);
|
||||
}
|
||||
|
||||
test_bind (rep_sock, "tcp://127.0.0.1:*", connect_address,
|
||||
sizeof (connect_address));
|
||||
bind_loopback_ipv4 (rep_sock, connect_address, sizeof connect_address);
|
||||
|
||||
l = 0;
|
||||
rc = zmq_setsockopt (req_sock, ZMQ_LINGER, &l, sizeof (l));
|
||||
|
||||
Reference in New Issue
Block a user