Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/isdn/isdnd Adapt to call-ID based accounting messages.



details:   https://anonhg.NetBSD.org/src/rev/7f5c45d69272
branches:  trunk
changeset: 523868:7f5c45d69272
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 17 11:09:16 2002 +0000

description:
Adapt to call-ID based accounting messages.

diffstat:

 usr.sbin/isdn/isdnd/msghdl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ec03b9eacec7 -r 7f5c45d69272 usr.sbin/isdn/isdnd/msghdl.c
--- a/usr.sbin/isdn/isdnd/msghdl.c      Sun Mar 17 11:08:31 2002 +0000
+++ b/usr.sbin/isdn/isdnd/msghdl.c      Sun Mar 17 11:09:16 2002 +0000
@@ -27,7 +27,7 @@
  *     i4b daemon - message from kernel handling routines
  *     --------------------------------------------------
  *
- *     $Id: msghdl.c,v 1.1.1.1 2001/01/06 13:00:23 martin Exp $ 
+ *     $Id: msghdl.c,v 1.2 2002/03/17 11:09:16 martin Exp $ 
  *
  * $FreeBSD$
  *
@@ -898,7 +898,7 @@
 {
        cfg_entry_t *cep;
 
-       if((cep = find_active_entry_by_driver(mp->driver, mp->driver_unit)) == NULL)
+       if((cep = get_cep_by_cdid(mp->header.cdid)) == NULL)
        {
                log(LL_WRN, "msg_accounting: no config entry found!");  
                return;



Home | Main Index | Thread Index | Old Index