mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
RPKI: Fix missing daddr at TCP socket
This commit is contained in:
parent
27d7aae89f
commit
57c54ce70a
@ -37,6 +37,7 @@ int tr_tcp_open(void *tr_tcp_sock)
|
|||||||
|
|
||||||
sock *sk = cache->sk;
|
sock *sk = cache->sk;
|
||||||
sk->type = SK_TCP_ACTIVE;
|
sk->type = SK_TCP_ACTIVE;
|
||||||
|
sk->daddr = tcp_socket->config.ip;
|
||||||
|
|
||||||
if (sk_open(sk) != 0)
|
if (sk_open(sk) != 0)
|
||||||
return TR_ERROR;
|
return TR_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user