RPKI: Implement VRF support

This commit is contained in:
Luiz Amaral 2022-05-19 19:43:59 +02:00 committed by Ondrej Zajicek
parent ba2a076001
commit 9a9439d5e1

View file

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