AVM-B1 d-channel trace level 2 (newer firmware) now running with isdnlog.
This commit is contained in:
parent
61b9136652
commit
bd5d85c0b4
|
@ -1,4 +1,4 @@
|
|||
/* $Id: processor.c,v 1.30 1998/11/05 19:09:49 akool Exp $
|
||||
/* $Id: processor.c,v 1.31 1998/11/06 14:28:31 calle Exp $
|
||||
*
|
||||
* ISDN accounting for isdn4linux. (log-module)
|
||||
*
|
||||
|
@ -19,6 +19,9 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Log: processor.c,v $
|
||||
* Revision 1.31 1998/11/06 14:28:31 calle
|
||||
* AVM-B1 d-channel trace level 2 (newer firmware) now running with isdnlog.
|
||||
*
|
||||
* Revision 1.30 1998/11/05 19:09:49 akool
|
||||
* - Support for all the new L2 frames from HiSax 3.0d (RR, UA, SABME and
|
||||
* tei management)
|
||||
|
@ -4147,6 +4150,13 @@ static void processctrl(int card, char *s)
|
|||
if (verbose & VERBOSE_CTRL)
|
||||
print_msg(PRT_LOG, "%s\n", s);
|
||||
|
||||
if (!memcmp(ps, "D2", 2)) { /* AVMB1 */
|
||||
if (firsttime) {
|
||||
firsttime = 0;
|
||||
print_msg (PRT_NORMAL, "(AVM B1 driver detected (D2))\n");
|
||||
}
|
||||
memcpy(ps, "HEX: ", 5);
|
||||
}
|
||||
if (!memcmp(ps, "HEX: ", 5)) { /* new HiSax Driver */
|
||||
|
||||
if (((verbose & VERBOSE_HEX) && !(verbose & VERBOSE_CTRL)) || stdoutput)
|
||||
|
@ -4274,11 +4284,11 @@ static void processctrl(int card, char *s)
|
|||
ps += (tei == BROADCAST) ? 1 : 4;
|
||||
}
|
||||
|
||||
else if (!memcmp(ps, "D2", 2) || !memcmp(ps, "D3", 2)) { /* AVMB1 */
|
||||
else if (!memcmp(ps, "D3", 2)) { /* AVMB1 */
|
||||
|
||||
if (firsttime) {
|
||||
firsttime = 0;
|
||||
print_msg (PRT_NORMAL, "(AVM B1 driver detected)\n");
|
||||
print_msg (PRT_NORMAL, "(AVM B1 driver detected (D3))\n");
|
||||
}
|
||||
|
||||
if (*(ps + 2) == '<') /* this is our "direction flag" */
|
||||
|
|
Loading…
Reference in New Issue