[libss7-commits] mattf: trunk r71 - in /trunk: isup.c mtp2.c
libss7-commits at lists.digium.com
libss7-commits at lists.digium.com
Wed Nov 8 15:48:39 MST 2006
Author: mattf
Date: Wed Nov 8 16:48:38 2006
New Revision: 71
URL: http://svn.digium.com/view/libss7?rev=71&view=rev
Log:
Make libss7 a little less verbose when used against buggy implementations that
don't know when the link has gone down.
Modified:
trunk/isup.c
trunk/mtp2.c
Modified: trunk/isup.c
URL: http://svn.digium.com/view/libss7/trunk/isup.c?rev=71&r1=70&r2=71&view=diff
==============================================================================
--- trunk/isup.c (original)
+++ trunk/isup.c Wed Nov 8 16:48:38 2006
@@ -676,7 +676,7 @@
{ISUP_PARM_PROPAGATION_DELAY, "Propagation Delay"},
{ISUP_PARM_HOP_COUNTER, "Hop Counter"},
{ISUP_PARM_BACKWARD_CALL_IND, "Backward Call Indicator", backward_call_ind_dump, backward_call_ind_receive, backward_call_ind_transmit},
- {ISUP_PARM_BACKWARD_CALL_IND, "Optional Backward Call Indicator", opt_backward_call_ind_dump, opt_backward_call_ind_receive, NULL},
+ {ISUP_PARM_OPT_BACKWARD_CALL_IND, "Optional Backward Call Indicator", opt_backward_call_ind_dump, opt_backward_call_ind_receive, NULL},
{ISUP_PARM_CIRCUIT_GROUP_SUPERVISION_IND, "Circuit Group Supervision Indicator", circuit_group_supervision_dump, circuit_group_supervision_receive, circuit_group_supervision_transmit},
{ISUP_PARM_RANGE_AND_STATUS, "Range and status", range_and_status_dump, range_and_status_receive, range_and_status_transmit},
{ISUP_PARM_EVENT_INFO, "Event Information", event_info_dump, event_info_receive, event_info_transmit},
Modified: trunk/mtp2.c
URL: http://svn.digium.com/view/libss7/trunk/mtp2.c?rev=71&r1=70&r2=71&view=diff
==============================================================================
--- trunk/mtp2.c (original)
+++ trunk/mtp2.c Wed Nov 8 16:48:38 2006
@@ -825,7 +825,7 @@
update_txbuf(link, h->bsn);
/* Check for retransmission request */
- if (h->bib != link->curfib) {
+ if ((link->state == MTP_INSERVICE) && (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);
More information about the libss7-commits
mailing list