summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorLuiz Amaral <email@luiz.eng.br>2022-05-19 19:43:59 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2022-05-19 19:43:59 +0200
commit9a9439d5e1d3b1372dadb25207d67d83a2e1e98c (patch)
tree51a29265bb0a9a55edab32682c643153415ae562 /proto
parentba2a076001be6e4140fbd2703cd134e5aa51450b (diff)
RPKI: Implement VRF support
Diffstat (limited to 'proto')
-rw-r--r--proto/rpki/transport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rpki/transport.c b/proto/rpki/transport.c
index a1ac7587..81bd6dd8 100644
--- a/proto/rpki/transport.c
+++ b/proto/rpki/transport.c
@@ -85,6 +85,7 @@ rpki_tr_open(struct rpki_tr_sock *tr)
sk->rbsize = RPKI_RX_BUFFER_SIZE;
sk->tbsize = RPKI_TX_BUFFER_SIZE;
sk->tos = IP_PREC_INTERNET_CONTROL;
+ sk->vrf = cache->p->p.vrf;
if (ipa_zero(sk->daddr) && sk->host)
{