[libss7-commits] mattf: trunk r66 - /trunk/mtp2.c

libss7-commits at lists.digium.com libss7-commits at lists.digium.com
Fri Nov 3 14:26:13 MST 2006


Author: mattf
Date: Fri Nov  3 15:26:13 2006
New Revision: 66

URL: http://svn.digium.com/view/libss7?rev=66&view=rev
Log:
Make notification that retransmission was requested

Modified:
    trunk/mtp2.c

Modified: trunk/mtp2.c
URL: http://svn.digium.com/view/libss7/trunk/mtp2.c?rev=66&r1=65&r2=66&view=diff
==============================================================================
--- trunk/mtp2.c (original)
+++ trunk/mtp2.c Fri Nov  3 15:26:13 2006
@@ -826,9 +826,11 @@
 	update_txbuf(link, h->bsn);
 
 	/* Check for retransmission request */
-	if (h->bib != link->curfib)
+	if (h->bib != link->curfib) {
 		/* Negative ack */
+		ss7_message(link->master, "Got retransmission request sequence numbers greater than %d. Retransmitting %d message(s).\n", h->bsn, len_txbuf(link));
 		mtp2_retransmit(link);
+	}
 
 	switch (h->li) {
 		case 0:



More information about the libss7-commits mailing list