tshzset.patch 478 B

1234567891011121314
  1. diff --git a/waitpacket.c b/waitpacket.c
  2. index a6c20f0..6e6acfb 100644
  3. --- a/waitpacket.c
  4. +++ b/waitpacket.c
  5. @@ -656,7 +656,7 @@ found:
  6. printf(" TCP timestamp: tcpts=%u\n", tstamp);
  7. if (first_tstamp) {
  8. int tsdiff;
  9. - int hz_set[] = { 2, 10, 100, 1000, 0 };
  10. + int hz_set[] = { 1, 2, 10, 20, 25, 30, 40, 50, 60, 70, 80, 90, 100, 150, 200, 250, 300, 400, 500, 600, 700, 750, 800, 1000, 2000, 9000, 0 };
  11. int hzdiff = -1;
  12. int hz = 0, sec;
  13. int days, hours, minutes;