summaryrefslogtreecommitdiff
path: root/proto/rpki/tcp_transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rpki/tcp_transport.c')
-rw-r--r--proto/rpki/tcp_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rpki/tcp_transport.c b/proto/rpki/tcp_transport.c
index 132f8e2d..ebb8030f 100644
--- a/proto/rpki/tcp_transport.c
+++ b/proto/rpki/tcp_transport.c
@@ -28,7 +28,7 @@ rpki_tr_tcp_open(struct rpki_tr_sock *tr)
sk->type = SK_TCP_ACTIVE;
- if (sk_open(sk) != 0)
+ if (sk_open(sk, tr->cache->p->p.loop) != 0)
return RPKI_TR_ERROR;
return RPKI_TR_SUCCESS;