Simplify up_generate_updates()
authortb <tb@openbsd.org>
Wed, 30 Mar 2022 16:06:32 +0000 (16:06 +0000)
committertb <tb@openbsd.org>
Wed, 30 Mar 2022 16:06:32 +0000 (16:06 +0000)
commitcc983aa27e6ef76e2496312327b99740d1dc2718
tree13f1bfc0781caea23447bf4a6f70a688e3adc3ad
parent386917ed9ef0370962ae7cb517bb62402f248aef
Simplify up_generate_updates()

Instead of using new == NULL or new != NULL in combination with an again
label to steer the control flow of this function, switch to using a while
loop and break/continue/return. Simplified version of a diff by claudio.

ok claudio
usr.sbin/bgpd/rde_update.c