Re: bgpd refactor prefix_adjout_update

2022-03-15 Thread Theo Buehler
On Tue, Mar 15, 2022 at 12:21:00PM +0100, Claudio Jeker wrote: > This diff just refactors the code by moving the alloc part up. > It makes the code a bit easier to read and more similar with other > prefix_adjout functions. Also I plan to pass the struct prefix in > as an argument and do the prefix

bgpd refactor prefix_adjout_update

2022-03-15 Thread Claudio Jeker
This diff just refactors the code by moving the alloc part up. It makes the code a bit easier to read and more similar with other prefix_adjout functions. Also I plan to pass the struct prefix in as an argument and do the prefix_adjout_get() in the callee. -- :wq Claudio Index: rde_rib.c ===