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

libss7-commits at lists.digium.com libss7-commits at lists.digium.com
Thu Sep 7 19:35:56 MST 2006


Author: mattf
Date: Thu Sep  7 21:35:55 2006
New Revision: 41

URL: http://svn.digium.com/view/libss7?rev=41&view=rev
Log:
Use special test instead of standard test for ANSI links.

Modified:
    trunk/mtp3.c

Modified: trunk/mtp3.c
URL: http://svn.digium.com/view/libss7/trunk/mtp3.c?rev=41&r1=40&r2=41&view=diff
==============================================================================
--- trunk/mtp3.c (original)
+++ trunk/mtp3.c Thu Sep  7 21:35:55 2006
@@ -286,7 +286,7 @@
 		
 		ss7_msg_userpart_len(m, rllen + testpatsize + 2);
 
-		return mtp3_transmit(ss7, SIG_STD_TEST, mtp2->slc, m);
+		return mtp3_transmit(ss7, (ss7->switchtype == SS7_ITU) ? SIG_STD_TEST : SIG_SPEC_TEST, mtp2->slc, m);
 	} else if (h1 == 2) {
 		net_mng_send_tra(mtp2);
 		/* Event Link up */



More information about the libss7-commits mailing list