Changeset 502

Show
Ignore:
Timestamp:
08/19/00 15:32:28 (14 years ago)
Author:
ucaccsp
Message:

Fix sequence number generation: it was possible for a message to have the
same sequence number as the previous ACK.

Location:
common/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/MODS

    r495 r502  
    284284v1.2.1  * 16 June 2000 [rat 4.2.5] 
    285285 
     286v1.2.2  - Fix bug in mbus transmit code which caused messages to have the same sequence 
     287          number as the preceeding ack. 
     288        - Remove get_appname() function from util.[ch], since it didn't 
     289          work in all cases (sometimes argv[0] doesn't contain anything 
     290          sensible). 
     291 
     292 
    286293Still to do... 
    287294        - IPv6 code sometimes doesn't get the correct interface address, 
  • common/trunk/VERSION

    r494 r502  
    1 1.2.1 
     11.2.2 
  • common/trunk/src/mbus.c

    r487 r502  
    671671        curr->retransmit_count = 0; 
    672672        curr->message_size     = alen + 60 + strlen(dest) + strlen(m->addr); 
    673         curr->seqnum           = m->seqnum++; 
     673        curr->seqnum           = ++m->seqnum; 
    674674        curr->reliable         = reliable; 
    675675        curr->complete         = FALSE;