perfsonar / owamp

A tool for performing one-way or two-way active measurements
Apache License 2.0
70 stars 30 forks source link

Fix invalid struct timeval values (affects OSX) #12

Closed candlerb closed 7 years ago

candlerb commented 8 years ago

Patch provided by Aaron Brown at: https://lists.internet2.edu/sympa/arc/perfsonar-user/2014-11/msg00131.html

This fix is known to work, and is currently included as an ad-hoc patch in homebrew, but it would be better to be integrated upstream.

candlerb commented 7 years ago

It wasn't my patch originally. I presume it's because the code is simple and obvious and will only take nanoseconds to run anyway.

mfeit-internet2 commented 7 years ago

Aaron Brown wrote it. I mostly left the comment in there as a note to myself to have it do the math.

I'll try to get this merged by the end of the week.