X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/e31c0b14c3fa77fb4e164f387a7ac9744e7b41d0..8d0c7a83c244c03e5fbc675018ca29fe5ddb9966:/admin.c diff --git a/admin.c b/admin.c index 508976f2..766b3052 100644 --- a/admin.c +++ b/admin.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: admin.c,v 1.1 2001/02/03 20:26:37 mdw Exp $ + * $Id: admin.c,v 1.2 2001/02/03 22:40:29 mdw Exp $ * * Admin interface for configuration * @@ -29,6 +29,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: admin.c,v $ + * Revision 1.2 2001/02/03 22:40:29 mdw + * Put timer information into the entropy pool when packets are received + * and on similar events. Reseed the generator on the interval timer. + * * Revision 1.1 2001/02/03 20:26:37 mdw * Initial checkin. * @@ -227,6 +231,7 @@ static void a_resolve(struct hostent *h, void *v) { admin *a = v; T( trace(T_ADMIN, "admin: %u resolved", a->seq); ) + TIMER; sel_rmtimer(&a->t); if (!h) a_write(a, "ERR couldn't resolve hostname `%s'\n", a->paddr); @@ -548,6 +553,7 @@ static void a_line(char *p, void *vp) char *av[4]; size_t ac; + TIMER; if (!p) { a_destroy(a); return;