From owner-freebsd-current Mon Jan 21 12:20: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 166A337B405 for ; Mon, 21 Jan 2002 12:19:56 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA10256 for freebsd-current@freebsd.org; Mon, 21 Jan 2002 21:19:55 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g0LKDCZ75004; Mon, 21 Jan 2002 21:13:12 +0100 (MET) (envelope-from j) Date: Mon, 21 Jan 2002 21:13:12 +0100 (MET) Message-Id: <200201212013.g0LKDCZ75004@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <200201211756.SAA22267@bonsai.fernuni-hagen.de> <200201211910.g0LJAHG04925@Magelan.Leidinger.net> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: i4b driver broken for -current? X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alexander Leidinger wrote: > You have to use rev. 1.60 of /sys/netinet/in.c ("cd > /sys/netinet; No, you're wrong. This bug has been fixed as one of the first of my series of committs that brought the i4b version of sppp back into the mainstream version. Otherwise i could not have worked at all. ;-) RCS file: /home/ncvs/src/sys/net/if_spppsubr.c,v Working file: /sys/net/if_spppsubr.c head: 1.91 .... ---------------------------- revision 1.74 date: 2001/12/26 20:28:41; author: joerg; state: Exp; lines: +3 -2 For SIOCSIFADDR, don't call if_up() since it would attempt to add the route to the destination twice. Now that brian has fixed route.c to no longer accept this second route, this long-standing nuisance became a showstopper bug for sppp users. In retrospect, this is the same fix as the one in rev 1.78 of if_sl.c; most likely the original version of sppp has been cloned from SLIP. ;-) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message