From Arnaud Ebalard:

initfds() needs to be called only if monitored file descriptor numbers
have changed
This commit is contained in:
tteras 2008-10-27 06:18:08 +00:00
parent 38962f77a8
commit b186d55b63
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,8 @@
2008-08-27 Timo Teras <timo.teras@iki.fi>
From Arnaud Ebalard <arno@natisbad.org>:
* src/racoon/isakmp_var.h: remove duplicate declaration
* src/racoon/session.c: initfds() needs to be called only if
monitored file descriptor numbers have changed
2008-08-06 Timo Teras <timo.teras@iki.fi>
From Krzysztof Piotr Oledzki <olel@ans.pl>:

View File

@ -1,4 +1,4 @@
/* $NetBSD: session.c,v 1.17 2008/10/23 10:56:10 tteras Exp $ */
/* $NetBSD: session.c,v 1.18 2008/10/27 06:18:09 tteras Exp $ */
/* $KAME: session.c,v 1.32 2003/09/24 02:01:17 jinmei Exp $ */
@ -234,8 +234,6 @@ session(void)
if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) {
if (update_myaddrs() && lcconf->autograbaddr)
check_rtsock(NULL);
else
initfds();
}
}
}