[svn-commits] mattf: branch 1.0 r282 - /branches/1.0/mtp3.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 24 14:30:21 CST 2010


Author: mattf
Date: Wed Feb 24 14:30:17 2010
New Revision: 282

URL: http://svnview.digium.com/svn/libss7?view=rev&rev=282
Log:
Make sure the new SLC placement behavior in STD_TEST messages is only for ANSI

Modified:
    branches/1.0/mtp3.c

Modified: branches/1.0/mtp3.c
URL: http://svnview.digium.com/svn/libss7/branches/1.0/mtp3.c?view=diff&rev=282&r1=281&r2=282
==============================================================================
--- branches/1.0/mtp3.c (original)
+++ branches/1.0/mtp3.c Wed Feb 24 14:30:17 2010
@@ -308,7 +308,11 @@
 
 	set_h0(layer4, 1);
 	set_h1(layer4, 1);
-	layer4[1] = (testlen << 4) | (link->slc & 0xf);
+	if (ss7->switchtype == SS7_ANSI)
+		layer4[1] = (testlen << 4) | (link->slc & 0xf);
+	else
+		layer4[1] = (testlen << 4);
+
 	memcpy(&layer4[2], testmessage, testlen);
 
 	ss7_msg_userpart_len(m, rllen + testlen + 2);




More information about the svn-commits mailing list