aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport/udp/udp_tran_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp/transport/udp/udp_tran_test.c')
-rw-r--r--src/sp/transport/udp/udp_tran_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/transport/udp/udp_tran_test.c b/src/sp/transport/udp/udp_tran_test.c
index 56a25cce..33517246 100644
--- a/src/sp/transport/udp/udp_tran_test.c
+++ b/src/sp/transport/udp/udp_tran_test.c
@@ -86,7 +86,7 @@ test_udp_port_zero_bind(void)
NUTS_MATCH(nng_url_hostname(u1), nng_url_hostname(u2));
NUTS_MATCH(nng_url_path(u1), nng_url_path(u2));
NUTS_TRUE(nng_url_port(u1) == nng_url_port(u2));
- NUTS_PASS(nng_listener_get_int(l, NNG_OPT_TCP_BOUND_PORT, &port));
+ NUTS_PASS(nng_listener_get_int(l, NNG_OPT_BOUND_PORT, &port));
NUTS_TRUE(port == (int) nng_url_port(u1));
NUTS_CLOSE(s2);