CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/11/21 06:29:52
Modified files:
usr.sbin/bgpd : bgpd.h control.c mrt.c rde.c rtr_proto.c
session.c session.h
Log message:
Adjust bgpd to the new msgbuf API
The tricky bit here is the fact that the peer wbuf needs to be allocated
and freed in the right places (when a peer is setup and when it is freed).
During lifetime we just flush the msgbuf with msgbuf_clear().
mrt has a similar issue. I think that freeing the msgbuf in mrt_clean is right.
OK tb@