[BACK]Return to tcpbench.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcpbench

Diff for /src/usr.bin/tcpbench/tcpbench.c between version 1.55 and 1.56

version 1.55, 2018/05/10 14:29:17 version 1.56, 2018/05/22 18:56:33
Line 253 
Line 253 
         if (on) {          if (on) {
                 if (evtimer_pending(&mainstats.timer, NULL))                  if (evtimer_pending(&mainstats.timer, NULL))
                         return;                          return;
                 timerclear(&tv);  
                 /* XXX Is there a better way to do this ? */                  /* XXX Is there a better way to do this ? */
                 tv.tv_sec = ptb->rflag / 1000;                  tv.tv_sec = ptb->rflag / 1000;
                 tv.tv_usec = (ptb->rflag % 1000) * 1000;                  tv.tv_usec = (ptb->rflag % 1000) * 1000;

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56