~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
site setup: Correct logic for DEFAULT_KEY_RENEGOTIATE_GAP
[secnet]
/
secnet.c
diff --git
a/secnet.c
b/secnet.c
index
f56fac2
..
274d35a
100644
(file)
--- a/
secnet.c
+++ b/
secnet.c
@@
-269,7
+269,7
@@
static void run(void)
((uint64_t)tv_now_global.tv_usec/(uint64_t)1000);
idx=0;
for (i=reg; i; i=i->next) {
((uint64_t)tv_now_global.tv_usec/(uint64_t)1000);
idx=0;
for (i=reg; i; i=i->next) {
- i->after(i->state, fds+idx, i->nfds
, &tv_now_global, &now_global
);
+ i->after(i->state, fds+idx, i->nfds);
idx+=i->nfds;
}
remain=total_nfds;
idx+=i->nfds;
}
remain=total_nfds;
@@
-277,7
+277,7
@@
static void run(void)
timeout=-1;
for (i=reg; i; i=i->next) {
nfds=remain;
timeout=-1;
for (i=reg; i; i=i->next) {
nfds=remain;
- rv=i->before(i->state, fds+idx, &nfds, &timeout
, &tv_now_global, &now_global
);
+ rv=i->before(i->state, fds+idx, &nfds, &timeout);
if (rv!=0) {
/* XXX we need to handle this properly: increase the
nfds available */
if (rv!=0) {
/* XXX we need to handle this properly: increase the
nfds available */