CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/03/19 06:44:23

Modified files:
        usr.sbin/bgpd  : bgpd.c bgpd.h config.c rde.c rtr.c session.c 

Log message:
Implement imsg_send_config and imsg_recv_config which handle the
sending of bgpd_config.

struct bgpd_config includes various pointers and those should not be passed.
Instead use an zeroed stack object and copy_config() to ensure that all
pointers are NULL before passing the struct.
Also implement imsg_recv_config() which does the reverse.

Reported by Shibo, Shawn, Hugo, Systopia Team
OK tb@

Reply via email to