SuSE GmbH

SuSE Support Database

Title: OPEN: message displays garbled IP-Numbers

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

OPEN: message displays garbled IP-Numbers

Applies to

SuSE Linux: Versions up to (including) 5.1
Kernel: Versions up to (including) 2.0.33
HiSax: Version 2.1

Symptom:

Verbose reporting is enabled via isdnctrl verbose 3, but during OPEN-messages, wrong IP-numbers and ports are shown.

Solution:

You should insert the following code manually in /usr/src/linux/drivers/isdn/isdn_net.c:
--- isdn_net.c.old      Fri Jan 16 22:07:40 1998
+++ isdn_net.c  Sat Jan 17 16:05:13 1998
@@ -822,6 +822,9 @@

        addinfo[0] = '\0';
        switch (lp->p_encap) {
+               case ISDN_NET_ENCAP_SYNCPPP:
+                       p = &buf[IPPP_MAX_HEADER];
+                       break;
                case ISDN_NET_ENCAP_IPTYP:
                        proto = ntohs(*(unsigned short *) &buf[0]);
                        p = &buf[2];

Credits:

This patch was supplied by Christian Meyer (smart@on-line.de).

----------

See also:

----------

Keywords: OPEN, SYNCPPP, IPPPD, ISDNCTRL, VERBOSE

----------

Categories: Configuration

----------

Feedback welcome: Send Mail to klaus.franken@suse.de (Please give the following subject: SDB-isdnverbose3)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-isdnverbose3, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 16:43:38 by maddin with sdb_gen 1.00.0