0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

RPKI: Fix missing daddr at TCP socket

This commit is contained in:
Pavel Tvrdík 2016-01-06 16:45:27 +01:00
parent 27d7aae89f
commit 57c54ce70a

View File

@ -37,6 +37,7 @@ int tr_tcp_open(void *tr_tcp_sock)
sock *sk = cache->sk;
sk->type = SK_TCP_ACTIVE;
sk->daddr = tcp_socket->config.ip;
if (sk_open(sk) != 0)
return TR_ERROR;