title: Scapy PcapReader and packets time
body: <p>I'm reading a PCAP file using Scapy using a script such as the (semplified) following one:</p>
  
  <pre><code>#! /usr/bin/env python
  from scapy.all import *
  # ...
  myreader = PcapReader(myinputfile)
  for p in myreader:
      pkt = p.payload
      print pkt.time
  </code></pre>
  
  <p>In this case the packets time is not relative to PCAP capture time, but starts from the instant I've launched my script.
  I'd like to start from <code>0.0</code> or to be relative to the PCAP capture.</p>
  
  <p>How can I fix it (possibly without "manually" retrieving the first packet time and repeatedly using math to fix the problem)?</p>