Rework the cease shutdown reason to work in both directions by looking
authorclaudio <claudio@openbsd.org>
Fri, 22 Mar 2024 15:41:34 +0000 (15:41 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 22 Mar 2024 15:41:34 +0000 (15:41 +0000)
commiteff7ddaf5345d364fff16bd60943172a70fced85
tree8aa3dfbfed90f1267958954ed2f7decbf18d76ae
parent55120356c14d8a077397d6e0af2792fa2f2d180d
Rework the cease shutdown reason to work in both directions by looking
at the ibuf payload passed to log_notification().
Because of this move ibuf_get_string() and the log_notification() call
in parse_notification().
OK tb@
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/logmsg.c
usr.sbin/bgpd/rtr_proto.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/util.c