Changeset 2b3dd78 in mainline for uspace/srv/net/tcp/ncsim.c


Ignore:
Timestamp:
2018-01-31T12:02:00Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5595841
Parents:
a0a9cc2 (diff), 14d789c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'upstream/master' into forwardport

change tmon includes because of new stdlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/ncsim.c

    ra0a9cc2 r2b3dd78  
    8181        return;
    8282
    83         if (0 /*random() % 4 == 3*/) {
     83        if (0 /*rand() % 4 == 3*/) {
    8484                /* Drop segment */
    8585                log_msg(LOG_DEFAULT, LVL_ERROR, "NCSim dropping segment");
     
    9494        }
    9595
    96         sqe->delay = random() % (1000 * 1000);
     96        sqe->delay = rand() % (1000 * 1000);
    9797        sqe->epp = *epp;
    9898        sqe->seg = seg;
Note: See TracChangeset for help on using the changeset viewer.