bgpd adjust prefix_adjout_update

2022-03-02 Thread Claudio Jeker
This moves the count adjustments into prefix_adjout_update() in a similar way that was just done for prefix_adjout_withdraw(). Having the counts closer to the actual places where things are added/removed makes the code a bit easier to grasp. The if cascade in the prefix_adjout_get != NULL case can

Re: bgpd adjust prefix_adjout_update

2022-03-02 Thread Theo Buehler
On Wed, Mar 02, 2022 at 04:40:09PM +0100, Claudio Jeker wrote: > This moves the count adjustments into prefix_adjout_update() in a similar > way that was just done for prefix_adjout_withdraw(). > Having the counts closer to the actual places where things are > added/removed makes the code a bit eas