aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/zerotier/zerotier.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/zerotier/zerotier.c b/src/transport/zerotier/zerotier.c
index 1754a322..2c94f0fb 100644
--- a/src/transport/zerotier/zerotier.c
+++ b/src/transport/zerotier/zerotier.c
@@ -3023,7 +3023,8 @@ static const nni_option zt_pipe_options[] = {
static int
zt_pipe_getopt(void *arg, const char *name, void *buf, size_t *szp, nni_type t)
{
- return (nni_getopt(zt_pipe_options, name, buf, szp, t));
+ zt_pipe *p = arg;
+ return (nni_getopt(zt_pipe_options, name, p, buf, szp, t));
}
static nni_tran_pipe_ops zt_pipe_ops = {