Ignore:
File:
1 edited

Legend:

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

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