pcap-file: Add timestamp support for reading and writing pcap files.
[cascardo/ovs.git] / utilities / ovs-ofctl.c
index c35e15b..2988fb6 100644 (file)
@@ -3122,7 +3122,7 @@ ofctl_parse_pcap(int argc OVS_UNUSED, char *argv[])
         struct flow flow;
         int error;
 
-        error = pcap_read(pcap, &packet);
+        error = pcap_read(pcap, &packet, NULL);
         if (error == EOF) {
             break;
         } else if (error) {