Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 1999 14:01:53 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        wcp@pop.systemy.it
Cc:        hm@kts.org, freebsd-isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org
Subject:   Re: i4b 0.83 & cdid 
Message-ID:  <199911281401.OAA50363@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Walter C. Pelissero" <wcp@demon.db.de>  of "Wed, 10 Nov 1999 14:45:11 %2B0100." <14377.30439.202000.63996@demon.db.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I just installed ISDN4BSD version 0.83 and I tried to run it with
> userland PPP ver 991109 on FreeBSD 3.1-RELEASE, but I keep on getting
> errors about invalid cdid (line 523 of msghdl.c) on DISCONNECT
> message.  I guess it happens whenever PPP tries to hangup the
> connection.
> 
> BTW, the manual page says that the cdid shouldn't be valid any more
> when the connection is disconnected.
> 
> I wouldn't bother if this hadn't the side effect of keeping the
> connection up all day long.
> 
> Any clue?

How about the attached (curtesy of Hellmuth) ?
-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>

Index: i4b_rbch.c
===================================================================
RCS file: /home/ncvs/src/sys/i4b/driver/i4b_rbch.c,v
retrieving revision 1.8
diff -u -r1.8 i4b_rbch.c
--- i4b_rbch.c	1999/09/25 18:24:18	1.8
+++ i4b_rbch.c	1999/11/28 10:25:17
@@ -305,7 +305,7 @@
 	int unit = minor(dev);
 
 	if (rbch_softc[unit].cd) {
-		i4b_l4_disconnect_ind(rbch_softc[unit].cd);
+		i4b_l4_drvrdisc(BDRV_RBCH, unit);
 		rbch_softc[unit].cd = NULL;
 	}
 	rbch_softc[unit].sc_devstate &= ~ST_ISOPEN;		
@@ -553,7 +553,7 @@
 			if(rbch_softc[unit].sc_devstate & ST_CONNECTED)
 			{
 				DBGL4(L4_RBCHDBG, "i4brbchioctl", ("unit %d, disconnecting for DTR down\n", unit));
-				i4b_l4_disconnect_ind(rbch_softc[unit].cd);
+				i4b_l4_drvrdisc(BDRV_RBCH, unit);
 			}
 			break;
 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911281401.OAA50363>