From 1ed4b05620f913c4813741f9b691b67c7a94a5bc Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 21 Nov 2002 09:25:05 +0000 Subject: [PATCH] Fixed bug with 'hosts allow' SVN revision: 290 --- elogd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/elogd.c b/elogd.c index bb51b70b..1e53a557 100755 --- a/elogd.c +++ b/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 2.102 2002/11/21 09:25:05 midas + Fixed bug with 'hosts allow' + Revision 2.101 2002/11/21 09:13:33 midas Added 'menu text' and 'find menu text' @@ -407,7 +410,7 @@ \********************************************************************/ /* Version of ELOG */ -#define VERSION "2.2.3" +#define VERSION "2.2.4" #include #include @@ -10728,6 +10731,8 @@ struct timeval timeout; else strcpy(remote_host[i_conn], (char *)inet_ntoa(rem_addr)); + strcpy(rem_host, remote_host[i_conn]); + #ifdef DEBUG_CONN printf("## open new connection %d\n", i_conn); #endif