[libss7-commits] mattf: branch 1.0 r283 - /branches/1.0/mtp3.c
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Wed Feb 24 14:33:00 CST 2010
Author: mattf
Date: Wed Feb 24 14:32:56 2010
New Revision: 283
URL: http://svnview.digium.com/svn/libss7?view=rev&rev=283
Log:
Make sure we also use the new format for replies (SLTA) messages
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=283&r1=282&r2=283
==============================================================================
--- branches/1.0/mtp3.c (original)
+++ branches/1.0/mtp3.c Wed Feb 24 14:32:56 2010
@@ -441,7 +441,10 @@
/* Success! */
set_h0(layer4, 1);
set_h1(layer4, 2);
- layer4[1] = (testpatsize << 4) | (mtp2->slc & 0xf);
+ if (ss7->switchtype == SS7_ANSI)
+ layer4[1] = (testpatsize << 4) | (mtp2->slc & 0xf);
+ else
+ layer4[1] = (testpatsize << 4);
memcpy(&layer4[2], &headerptr[2], testpatsize);
ss7_msg_userpart_len(m, rllen + testpatsize + 2);
More information about the libss7-commits
mailing list