CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/03/07 00:42:37

Modified files:
        usr.sbin/bgpd  : bgpd.c bgpd.h config.c kroute.c mrt.c parse.y 
                         rde.c rde.h rde_rib.c session.c session.h 

Log message:
Do a better job at cleaning up the config on shutdown. Remove bits that
were missed before (e.g. network related objects). This helps to detect
memory leaks.
Start using new_config() and free_config() in all places where bgpd_config
structure are used. This way the struct is properly initialised and cleaned
up. Introduce copy_config() to only copy the values into the other struct
leaving the pointers as they were.
Looks good to benno@

Reply via email to