The signature for load_cap_file changed in 21211
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Mon, 26 Mar 2007 23:16:53 +0000 (23:16 -0000)
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Mon, 26 Mar 2007 23:16:53 +0000 (23:16 -0000)
Update also the code path for when not compiling with pcap  so that code path also
uses the new signature.

svn path=/trunk/; revision=21219

tshark.c

index 83e066f1f34d0ed9b6b59250beac412b6ac3fa9f..fe964fefe20d2f05fd41ab8e529fb09560091f1d 100644 (file)
--- a/tshark.c
+++ b/tshark.c
@@ -1494,7 +1494,7 @@ main(int argc, char *argv[])
         capture_opts.has_autostop_packets ? capture_opts.autostop_packets : 0,
         capture_opts.has_autostop_filesize ? capture_opts.autostop_filesize : 0);
 #else
-    err = load_cap_file(&cfile, NULL, out_file_type);
+    err = load_cap_file(&cfile, NULL, out_file_type, 0, 0);
 #endif
     if (err != 0) {
       epan_cleanup();