X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Foptions.c;h=4870128868f63d10ecf1abc5b1562c06ca0f9416;hb=6e6bb3246106e680463c106d1ee6b773fc4f9c5a;hp=f9f10b74ca4859a1d9181f1629ace04d69691eb1;hpb=6794beb707916559a8d3a0e0fd7ec00ca0d309aa;p=ppp.git diff --git a/pppd/options.c b/pppd/options.c index f9f10b7..4870128 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -40,7 +40,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: options.c,v 1.93 2004/10/28 00:15:08 paulus Exp $" +#define RCSID "$Id: options.c,v 1.94 2004/11/04 09:46:50 paulus Exp $" #include #include @@ -113,6 +113,7 @@ char *bundle_name = NULL; /* bundle name for multilink */ bool dump_options; /* print out option values */ bool dryrun; /* print out option values and exit */ char *domain; /* domain name set by domain option */ +int child_wait = 5; /* # seconds to wait for children at exit */ #ifdef MAXOCTETS unsigned int maxoctets = 0; /* default - no limit */ @@ -270,6 +271,9 @@ option_t general_options[] = { { "dryrun", o_bool, &dryrun, "Stop after parsing, printing, and checking options", 1 }, + { "child-timeout", o_int, &child_wait, + "Number of seconds to wait for child processes at exit" }, + #ifdef HAVE_MULTILINK { "multilink", o_bool, &multilink, "Enable multilink operation", OPT_PRIO | 1 },