false results. Thanks to Fuminori Tanizaki <tany@mcnet.ad.jp>!
ngIRCd CVSHEAD
+ - Fixed (optional) TCP Wrapper test which was broken and could result in
+ false results. Thanks to Fuminori Tanizaki <tany@mcnet.ad.jp>!
- The type of service (TOS) of all sockets is set to "interactive" now.
- Added short command line option "-t" as alternative to "--configtest".
- Added optional support for "IDENT" lookups on incoming connections. You
--
-$Id: ChangeLog,v 1.223 2004/01/26 02:23:54 alex Exp $
+$Id: ChangeLog,v 1.224 2004/02/03 20:28:30 alex Exp $
#include "portab.h"
-static char UNUSED id[] = "$Id: conn.c,v 1.130 2004/01/25 16:06:35 alex Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.131 2004/02/03 20:28:30 alex Exp $";
#include "imp.h"
#include <assert.h>
#ifdef TCPWRAP
/* Validate socket using TCP Wrappers */
request_init( &req, RQ_DAEMON, PACKAGE_NAME, RQ_FILE, new_sock, RQ_CLIENT_SIN, &new_addr, NULL );
+ fromhost(&req);
if( ! hosts_access( &req ))
{
/* Access denied! */