[svn-commits] mattf: branch mattf/bug13495 r244 - /team/mattf/bug13495/isup_masq.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Dec 12 15:06:38 CST 2008


Author: mattf
Date: Fri Dec 12 15:06:38 2008
New Revision: 244

URL: http://svn.digium.com/view/libss7?view=rev&rev=244
Log:
Give some sense of direction with message debug on TCP links

Modified:
    team/mattf/bug13495/isup_masq.c

Modified: team/mattf/bug13495/isup_masq.c
URL: http://svn.digium.com/view/libss7/team/mattf/bug13495/isup_masq.c?view=diff&rev=244&r1=243&r2=244
==============================================================================
--- team/mattf/bug13495/isup_masq.c (original)
+++ team/mattf/bug13495/isup_masq.c Fri Dec 12 15:06:38 2008
@@ -64,6 +64,7 @@
 		case 5: /*This is the case for all ISUP messages such as IAM's, RLC,ANMs,ACMs..etc */
 			newmsg = &buf[1]; /*Get the buf minus the event byte */
 			if (mtp2->master->debug > 0) { /* Send data to be decode for debug */
+				ss7_message(mtp2->master, "<\n");
 				mtp3_dump(mtp2->master,NULL, (void *)newmsg, len-1);
 			}
 			mtp3_receive(mtp2->master, mtp2, (void *)newmsg, len-1);
@@ -185,7 +186,9 @@
 	int i;
 	
 	if (mtp2->master->debug > 0) { /* Send data to be decode for debug */
-		mtp3_dump(mtp2->master, mtp2, data, len);}
+		ss7_message(mtp2->master, ">\n");
+		mtp3_dump(mtp2->master, mtp2, data, len);
+	}
 	
 	/* Send the length of entire ISUP message first */
 	i = isup_carefulwrite(mtp2->fd, itoa(len,10), 4, 50);




More information about the svn-commits mailing list