From d2a69fc3baa5cf316a596332a497f71de795edd2 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sat, 20 Jun 1998 01:36:38 +0000 Subject: Re-initialise our timer service after fork()ing to lose our terminal session. Is this a bug in setitimer() ? - it must be called again in the child ! --- usr.sbin/ppp/timer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ppp/timer.h') diff --git a/usr.sbin/ppp/timer.h b/usr.sbin/ppp/timer.h index 0dcca5bedb32..5e6b6be5a7f1 100644 --- a/usr.sbin/ppp/timer.h +++ b/usr.sbin/ppp/timer.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: timer.h,v 1.5.4.5 1998/05/08 01:15:19 brian Exp $ + * $Id: timer.h,v 1.6 1998/05/21 21:48:49 brian Exp $ * * TODO: */ @@ -42,5 +42,6 @@ struct prompt; extern void timer_Start(struct pppTimer *); extern void timer_Stop(struct pppTimer *); +extern void timer_InitService(void); extern void timer_TermService(void); extern void timer_Show(int LogLevel, struct prompt *); -- cgit v1.3