CVSROOT: /cvs Module name: src Changes by: ren...@cvs.openbsd.org 2015/07/20 22:39:28
Modified files: usr.sbin/ldpd : address.c interface.c kroute.c ldpd.h ldpe.c ldpe.h packet.c Log message: Improve handling of addresses on ldpe. This is a preliminary work for the the next patch (sigup config reload). We want to make sure that the ldpe process can handle duplicated addresses. The idea is to alloc two different if_addr structures for each address, and link one in the global list of addresses (used to send address messages) and link the other to the associated interface list of addresses. Doing that we will be able to call kif_redistribute() after reloading the config file and activate the new LDP enabled interfaces. NOTE: Interfaces are created at config parse time and the child processes inherit them on fork() so there's no need to send a status update at startup. ok claudio@