[libpri-commits] rmudgett: branch rmudgett/link_q921 r2043 - /team/rmudgett/link_q921/q921.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Fri Oct 15 23:37:15 CDT 2010


Author: rmudgett
Date: Fri Oct 15 23:37:13 2010
New Revision: 2043

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2043
Log:
Dump Q.931 message using the TEI value the message came in with.

Modified:
    team/rmudgett/link_q921/q921.c

Modified: team/rmudgett/link_q921/q921.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/link_q921/q921.c?view=diff&rev=2043&r1=2042&r2=2043
==============================================================================
--- team/rmudgett/link_q921/q921.c (original)
+++ team/rmudgett/link_q921/q921.c Fri Oct 15 23:37:13 2010
@@ -2221,7 +2221,7 @@
 			 * Q.921 is dumping its frames they will be in the correct order.
 			 */
 			if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
-				q931_dump(ctrl, link->tei, (q931_h *) h->i.data, len - 4, 0);
+				q931_dump(ctrl, h->h.tei, (q931_h *) h->i.data, len - 4, 0);
 			}
 			delay_q931_receive = 1;
 
@@ -2517,7 +2517,7 @@
 		case 0x00:
 			/* UI-frame */
 			if (ctrl->debug & PRI_DEBUG_Q931_DUMP) {
-				q931_dump(ctrl, link->tei, (q931_h *) h->u.data, len - 3, 0);
+				q931_dump(ctrl, h->h.tei, (q931_h *) h->u.data, len - 3, 0);
 			}
 			res = q931_receive(link, link->tei, (q931_h *) h->u.data, len - 3);
 			if (res != -1 && (res & Q931_RES_HAVEEVENT)) {




More information about the libpri-commits mailing list