sync w/ header file changes
This commit is contained in:
parent
09c5c31fc8
commit
c4beb9648d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.5 2002/04/14 11:41:43 martin Exp $ */
|
||||
/* $NetBSD: main.c,v 1.6 2003/10/03 23:27:31 itojun Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -146,7 +146,7 @@ listall(int fd)
|
|||
|
||||
memset(&info, 0, sizeof info);
|
||||
ioctl(fd, I4B_CTRL_INFO_REQ, &info);
|
||||
num = info.maxbri;
|
||||
num = info.max_isdnif;
|
||||
printf("There are %d controllers available:\n", info.ncontroller);
|
||||
for (i = 0; i <= num; i++) {
|
||||
info.controller = i;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* i4b daemon - controller state support routines
|
||||
* ----------------------------------------------
|
||||
*
|
||||
* $Id: controller.c,v 1.6 2003/09/05 13:31:03 pooka Exp $
|
||||
* $Id: controller.c,v 1.7 2003/10/03 23:27:31 itojun Exp $
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
|
@ -84,7 +84,7 @@ init_controller(void)
|
|||
if((ioctl(isdnfd, I4B_CTRL_INFO_REQ, &mcir)) < 0)
|
||||
continue;
|
||||
|
||||
max = mcir.maxbri;
|
||||
max = mcir.max_isdnif;
|
||||
|
||||
/* init controller tab */
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* trace.c - print traces of D (B) channel activity for isdn4bsd
|
||||
* -------------------------------------------------------------
|
||||
*
|
||||
* $Id: trace.c,v 1.4 2003/05/08 08:32:39 martin Exp $
|
||||
* $Id: trace.c,v 1.5 2003/10/03 23:27:31 itojun Exp $
|
||||
*
|
||||
* $FreeBSD$
|
||||
*
|
||||
|
@ -481,7 +481,7 @@ fmt_hdr(struct i4b_trace_hdr *hdr, int frm_len)
|
|||
{
|
||||
sprintf(hbuf,"\n-- %s - bri:%d ---------------- time:%2.2d.%2.2d %2.2d:%2.2d:%2.2d.%06u ",
|
||||
((hdr->dir) ? "NT->TE" : "TE->NT"),
|
||||
hdr->bri,
|
||||
hdr->isdnif,
|
||||
s->tm_mday,
|
||||
s->tm_mon + 1,
|
||||
s->tm_hour,
|
||||
|
@ -495,7 +495,7 @@ fmt_hdr(struct i4b_trace_hdr *hdr, int frm_len)
|
|||
{
|
||||
sprintf(hbuf,"\n-- %s - bri:%d - frame:%6.6u - time:%2.2d.%2.2d %2.2d:%2.2d:%2.2d.%06u - length:%d (%d) ",
|
||||
((hdr->dir) ? "NT->TE" : "TE->NT"),
|
||||
hdr->bri,
|
||||
hdr->isdnif,
|
||||
hdr->count,
|
||||
s->tm_mday,
|
||||
s->tm_mon + 1,
|
||||
|
@ -510,7 +510,7 @@ fmt_hdr(struct i4b_trace_hdr *hdr, int frm_len)
|
|||
{
|
||||
sprintf(hbuf,"\n-- %s - bri:%d - frame:%6.6u - time:%2.2d.%2.2d %2.2d:%2.2d:%2.2d.%06u - length:%d ",
|
||||
((hdr->dir) ? "NT->TE" : "TE->NT"),
|
||||
hdr->bri,
|
||||
hdr->isdnif,
|
||||
hdr->count,
|
||||
s->tm_mday,
|
||||
s->tm_mon + 1,
|
||||
|
|
Loading…
Reference in New Issue