Hello,

I made a small patch that adds VRF support to the RPKI protocol. I did
some basic testing with and without VRF and it worked as expected.
Please let me know if I missed anything.

Thanks,
Luiz
commit 62b52fe465896991a70ea267db3b4b36faed8f28
Author: Luiz Amaral <em...@luiz.eng.br>
Date:   Mon May 9 20:06:08 2022 +0200

    RPKI: Implement VRF support

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)
   {

Reply via email to