]> The Tcpdump Group git mirrors - libpcap/blobdiff - savefile.c
From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
[libpcap] / savefile.c
index f62502e9bf5e309733aa295195a64714a2adce42..142458cb9f9d7f368aab40a66a95a402587e774e 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.172 2008-02-18 20:21:00 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.173 2008-04-04 19:37:45 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1310,6 +1310,7 @@ pcap_fopen_offline(FILE *fp, char *errbuf)
        p->setmintocopy_op = sf_setmintocopy;
 #endif
        p->close_op = sf_close;
+       p->activated = 1;
 
        return (p);
  bad: