[libss7-commits] mattf: trunk r162 - /trunk/mtp2.c
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Sun May 11 22:02:24 CDT 2008
Author: mattf
Date: Sun May 11 22:02:24 2008
New Revision: 162
URL: http://svn.digium.com/view/libss7?view=rev&rev=162
Log:
Need to update write flag everytime we receive a valid MSU since FISU's BSN needs to be updated
Modified:
trunk/mtp2.c
Modified: trunk/mtp2.c
URL: http://svn.digium.com/view/libss7/trunk/mtp2.c?view=diff&rev=162&r1=161&r2=162
==============================================================================
--- trunk/mtp2.c (original)
+++ trunk/mtp2.c Sun May 11 22:02:24 2008
@@ -681,6 +681,8 @@
/* Ok, it's a valid MSU now and we can accept it */
link->lastfsnacked = h->fsn;
+ /* Set write flag since we need to update the FISUs with our new BSN */
+ link->flags |= MTP2_FLAG_WRITE;
/* The big function */
res = mtp3_receive(link->master, link, h->data, len - MTP2_SU_HEAD_SIZE);
More information about the libss7-commits
mailing list