On Thu, Jan 13, 2022 at 11:37:32AM +0100, Claudio Jeker wrote:
> Since we push repository information over to the parser -n mode was broken
> because in that case the TA repositories did not get sent.
> This little diff fixes the problem.

ok tb

> 
> -- 
> :wq Claudio
> 
> Index: repo.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/rpki-client/repo.c,v
> retrieving revision 1.20
> diff -u -p -r1.20 repo.c
> --- repo.c    11 Jan 2022 13:06:07 -0000      1.20
> +++ repo.c    13 Jan 2022 10:28:24 -0000
> @@ -1095,6 +1095,9 @@ ta_lookup(int id, struct tal *tal)
>  
>       rp->ta = ta_get(tal);
>  
> +     if (repo_state(rp) != REPO_LOADING)
> +             entityq_flush(&rp->queue, rp);
> +
>       return rp;
>  }
>  
> 

Reply via email to