Not only reset the connection when a fatal error is received (or sent)
authorclaudio <claudio@openbsd.org>
Tue, 31 Jan 2023 17:14:27 +0000 (17:14 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 31 Jan 2023 17:14:27 +0000 (17:14 +0000)
commit2ced3cdb7ea4926522bdbcc03a25f5eab885f913
tree24169a6b56a544e9fac7adba699a51daf513f143
parentd62ebcb2023f9bedf18a9581f9e426635774d636
Not only reset the connection when a fatal error is received (or sent)
but also reset the cache and start totally fresh. The RFC is exceptionally
vague about error handling but in most cases the cache state is enough
off after an error that a fresh restart makes most sense.
With and OK job@
usr.sbin/bgpd/rtr_proto.c