CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/05/23 12:33:56
Modified files:
usr.sbin/ldpd : adjacency.c hello.c interface.c l2vpn.c ldpd.c
ldpd.h ldpe.c ldpe.h log.c log.h socket.c
Log message:
Create network sockets on the parent process.
We drop our privileges in ldpe right after we create the network sockets.
The problem is that we might want to change the transport-address and
reload the config, in which case we need new sockets. To allow that,
always create the network sockets in the parent process and pass them
to ldpe via imsg.