Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netisdn When processing a connect indication, seek out t...
details: https://anonhg.NetBSD.org/src/rev/ab46d64af5e2
branches: trunk
changeset: 552810:ab46d64af5e2
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Oct 03 16:46:32 2003 +0000
description:
When processing a connect indication, seek out the appropriate
l3drv and add that information to the call descriptor. This causes
us to not crash when receiving calls.
diffstat:
sys/netisdn/i4b_capi_msgs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 6b9c602407fc -r ab46d64af5e2 sys/netisdn/i4b_capi_msgs.c
--- a/sys/netisdn/i4b_capi_msgs.c Fri Oct 03 16:38:44 2003 +0000
+++ b/sys/netisdn/i4b_capi_msgs.c Fri Oct 03 16:46:32 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i4b_capi_msgs.c,v 1.3 2003/10/03 16:38:44 pooka Exp $ */
+/* $NetBSD: i4b_capi_msgs.c,v 1.4 2003/10/03 16:46:32 pooka Exp $ */
/*
* Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.3 2003/10/03 16:38:44 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.4 2003/10/03 16:46:32 pooka Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -509,6 +509,7 @@
cd->isdnif = sc->capi_isdnif;
cd->channelexcl = 0;
+ cd->l3drv = isdn_find_l3_by_isdnif(sc->capi_isdnif);
for (bch = 0; bch < sc->sc_nbch; bch++)
if (sc->sc_bchan[bch].state == B_FREE)
Home |
Main Index |
Thread Index |
Old Index