OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Henning Brauer (henningcvs.openbsd.org)
Date: Sun Jun 06 2004 - 12:38:11 CDT


CVSROOT: /cvs
Module name: src
Changes by: henningcvs.openbsd.org 2004/06/06 11:38:10

Modified files:
        usr.sbin/bgpd : bgpd.c bgpd.h config.c parse.y printconf.c
                         rde.c session.c session.h

Log message:
rework bgpd's handling of listening sockets. instead of one for each
supported address familiy, keep a tailq of an arbitary number of them.
the new struct listen_addr contains the sockaddr and the fd.
this fixes quite some nasty behaviour which was a consequence of the previous
model.
looks right deraadt, and discussed with claudio