diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-21 22:48:32 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-21 22:48:32 -0800 |
| commit | 925ac884f8bce34ad27fe18e851ebcecfe311356 (patch) | |
| tree | f5ef6ed18876688a695af49a89df12114505f65f /src/sp/transport/zerotier | |
| parent | 7ea8abadec355eb7ea9f71fc2e2bdd73c1c77c62 (diff) | |
| download | nng-925ac884f8bce34ad27fe18e851ebcecfe311356.tar.gz nng-925ac884f8bce34ad27fe18e851ebcecfe311356.tar.bz2 nng-925ac884f8bce34ad27fe18e851ebcecfe311356.zip | |
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.
Diffstat (limited to 'src/sp/transport/zerotier')
| -rw-r--r-- | src/sp/transport/zerotier/zerotier.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
