From owner-freebsd-current Fri Nov 3 08:42:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA17251 for current-outgoing; Fri, 3 Nov 1995 08:42:22 -0800 Received: from devnull.mpd.tandem.com (devnull.mpd.tandem.com [131.124.4.29]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA17242 for ; Fri, 3 Nov 1995 08:42:16 -0800 Received: from olympus by devnull.mpd.tandem.com (8.6.8/8.6.6) id KAA25483; Fri, 3 Nov 1995 10:41:59 -0600 Received: by olympus (4.1/TSS2.1) id AA13947; Fri, 3 Nov 95 10:42:08 CST From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9511031642.AA13947@olympus> Subject: Re: pppd won't hold connection To: peter@haywire.dialix.com (Peter Wemm) Date: Fri, 3 Nov 1995 10:42:08 -0600 (CST) Cc: freebsd-current@freebsd.org In-Reply-To: <47avig$2qg$1@haywire.DIALix.COM> from "Peter Wemm" at Nov 3, 95 01:36:16 am X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1211 Sender: owner-current@freebsd.org Precedence: bulk > > nate@rocky.sri.MT.net (Nate Williams) writes: > > >Re-build the kernel and see if it makes any difference. Peter made lots > >of changes made to both the userland stuff and the kernel. > > It should work the other way around though.. The old userland stuff > theoretically should work with the new kernel code (at least, I > believe Bruce Evans was doing that at one stage, although he may have > had to recompile the pppd with the new header files first). > > >Nate > > -Peter > OK. It works for me now. How do I get defaultroute to work? static int setdefaultroute() { if (!ipcp_allowoptions[0].default_route) { fprintf(stderr, "%s: defaultroute option is disabled\n", progname); return 0; } ipcp_wantoptions[0].default_route = 1; return 1; } in options.c How do I turn ipcp_allowoptions[0].default_route on without rewriting the code? (I did and it works.) The default route option used to be enabled by default. Thanks, Boyd -- _______________________________________________________________________ Boyd Faulkner - faulkner@isd.tandem.com - http://cactus.org/~faulkner _______________________________________________________________________