CVSROOT: /cvs Module name: src Changes by: [email protected] 2009/05/31 10:58:54
Modified files:
usr.sbin/ospfd : control.c ospfd.c ospfe.c rde.c
Log message:
The libevent callback function may be called with EV_READ and EV_WRITE
set at the same time so using a switch to do read or write is a bad idea.
Problem noticed by Eygene Ryabinkin on FreeBSD for some reasons it is not
triggered on OpenBSD.
Fix aggreed by a most other libevent hackers
