From 925ac884f8bce34ad27fe18e851ebcecfe311356 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 21 Nov 2024 22:48:32 -0800 Subject: Collect the bound port as part of the URL at bind time. This is a step on cleaning up our logic around NNG_OPT_URL. --- src/sp/transport/zerotier/zerotier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sp/transport/zerotier') diff --git a/src/sp/transport/zerotier/zerotier.c b/src/sp/transport/zerotier/zerotier.c index 7b2142b1..6e475c1a 100644 --- a/src/sp/transport/zerotier/zerotier.c +++ b/src/sp/transport/zerotier/zerotier.c @@ -2336,10 +2336,11 @@ zt_ep_bind_locked(zt_ep *ep) } static int -zt_ep_bind(void *arg) +zt_ep_bind(void *arg, nng_url *url) { int rv; zt_ep *ep = arg; + NNI_ARG_UNUSED(url); nni_mtx_lock(&zt_lk); rv = zt_ep_bind_locked(ep); -- cgit v1.2.3-70-g09d2