#131 Fix for incorrect capture duration

Обединени
jens.klein обедини 1 ревизии от stefan.schmidt/timestamp_fix във SPIN/master преди 6 години

I noticed that the capture duration was incorrect (off by one second) even after commit 971df14819, and traced it back to the C++ code not taking overflows into account when subtracting the two timestamps. I've changed the calculation to use timersub() and verified the results against Wireshark.

Tested on Arch and macOS 10.12.

I noticed that the capture duration was incorrect (off by one second) even after commit 971df14819, and traced it back to the C++ code not taking overflows into account when subtracting the two timestamps. I've changed the calculation to use timersub() and verified the results against Wireshark. Tested on Arch and macOS 10.12.
Тази заявка за сливане е обединена успешно!
Впишете се за да се присъедините към разговора.
Няма етикет
Bug
Няма етап
Няма изпълнител
1 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.