Re: bgpd rework extract_prefix

2023-03-30 Thread Theo Buehler
On Thu, Mar 30, 2023 at 03:18:36PM +0200, Claudio Jeker wrote: > This diff cleans up extract_prefix(). The main point is to abort before > writing anything. That's good. > PREFIX_SIZE() includes the length byte so exclude that again. > I think overall the function is more readable now. Yes, I ag

bgpd rework extract_prefix

2023-03-30 Thread Claudio Jeker
This diff cleans up extract_prefix(). The main point is to abort before writing anything. PREFIX_SIZE() includes the length byte so exclude that again. I think overall the function is more readable now. -- :wq Claudio Index: util.c