Changeset 1459 for pjproject/trunk


Ignore:
Timestamp:
Sep 30, 2007 11:00:49 AM (17 years ago)
Author:
bennylp
Message:

Changed initial sequence number randomization to produce number in 15bit instead, to assist troubleshooting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_dialog.c

    r1417 r1459  
    200200 
    201201    /* Randomize local CSeq. */ 
    202     dlg->local.first_cseq = pj_rand() & 0x7FFFFFFFL; 
     202    dlg->local.first_cseq = pj_rand() & 0x7FFF; 
    203203    dlg->local.cseq = dlg->local.first_cseq; 
    204204 
     
    368368 
    369369    /* Randomize local cseq */ 
    370     dlg->local.first_cseq = pj_rand() & 0x7FFFFFFFL; 
     370    dlg->local.first_cseq = pj_rand() & 0x7FFF; 
    371371    dlg->local.cseq = dlg->local.first_cseq; 
    372372 
Note: See TracChangeset for help on using the changeset viewer.