[libss7-commits] mattf: trunk r115 - /trunk/mtp3.c

SVN commits to the libss7 project libss7-commits at lists.digium.com
Tue Oct 9 14:31:28 CDT 2007


Author: mattf
Date: Tue Oct  9 14:31:28 2007
New Revision: 115

URL: http://svn.digium.com/view/libss7?view=rev&rev=115
Log:
Make sure we display user part numerical equivalent.  Also some dump formatting updates

Modified:
    trunk/mtp3.c

Modified: trunk/mtp3.c
URL: http://svn.digium.com/view/libss7/trunk/mtp3.c?view=diff&rev=115&r1=114&r2=115
==============================================================================
--- trunk/mtp3.c (original)
+++ trunk/mtp3.c Tue Oct  9 14:31:28 2007
@@ -229,9 +229,9 @@
 	h1 = get_h1(headerptr);
 	h0 = get_h0(headerptr);
 
-	ss7_dump_buf(ss7, 1, headerptr, 1);
 	ss7_message(ss7, "\tH0: %x H1: %x\n", h0, h1);
 	ss7_message(ss7, "\tMessage type: %s\n", net_mng_message2str(h0, h1));
+	ss7_dump_buf(ss7, 1, headerptr, 1);
 	return 0;
 }
 
@@ -444,7 +444,7 @@
 	int rlsize;
 
 
-	ss7_message(ss7, "\tNetwork Indicator: %d Priority: %d User Part: %s\n", ni, priority, userpart2str(userpart));
+	ss7_message(ss7, "\tNetwork Indicator: %d Priority: %d User Part: %s (%d)\n", ni, priority, userpart2str(userpart), userpart);
 	ss7_dump_buf(ss7, 1, sio, 1);
 	rlsize = get_routinglabel(ss7->switchtype, sif, &rl);
 	if (ss7->switchtype == SS7_ANSI)




More information about the libss7-commits mailing list