Ticket #18: patch.ticket18.r6944.diff
| File patch.ticket18.r6944.diff, 992 bytes (added by robin, 2 years ago) |
|---|
-
src/PktSrc.cc
329 330 s->received = s->dropped = s->link = 0; 330 331 } 331 332 332 #ifdef HAVE_LINUX333 // Linux clears its counters each time.334 333 s->received = stats.received; 335 s->dropped = stats.dropped + pstat.ps_drop;336 s->link = 0; // not available337 #else338 // Default assumes FreeBSD's semantics.339 s->received = stats.received;340 334 s->dropped = pstat.ps_drop; 341 335 s->link = pstat.ps_recv; 342 #endif343 336 344 337 if ( pseudo_realtime ) 345 338 s->dropped = 0; -
CHANGES.features
35 35 36 36 $Revisions: r6943 37 37 38 - Fix for #18. 39 40 Status: Under test 41 42 $Revisions: r6944 43 38 44 ################ For local use only (not need to merge into trunk). 39 45 40 46 - Including SVN revision number into version message.