#131 Fix for incorrect capture duration

Fusionné
jens.klein a fusionné 1 commits à partir de stefan.schmidt/timestamp_fix vers SPIN/master il y a 6 ans

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.
Cette Pull Request a été fusionnée avec succès !
Connectez-vous pour rejoindre cette conversation.
Pas d'étiquette
Bug
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.