Dear All,
             We notice there is difference between the time given by
pf_ring via this  s = (h->ts.tv_sec + thiszone) % 86400;
and our own calculation

time_t rawtime;
       struct tm * timeinfo;
       char dateNTime [20];

       time (&rawtime);
       timeinfo = localtime (&rawtime);
      /* Set tm to the correct time */
     strftime(dateNTime, 20, "%F %H:%M:%S", timeinfo);

Any logic why there is difference in both the time. Can the pf_ring time
show the date too?
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to