--- snort.c.orig Thu Aug 9 17:02:43 2001 +++ snort.c Thu Aug 9 17:04:02 2001 @@ -1669,16 +1669,16 @@ if (!pv.quiet_flag) { - printf("Reading network traffic from \"%s\" file.\n", intf); + printf("Reading network traffic from \"%s\" file.\n", pv.readfile); } /* open the file */ - pds[num] = pcap_open_offline(intf, errorbuf); + pds[num] = pcap_open_offline(pv.readfile, errorbuf); /* the file didn't open correctly */ if(pds[num] == NULL) { - FatalError("ERROR => unable to open file %s for readback: %s\n", - intf, errorbuf); + FatalError("ERROR => unable to open file \"%s\" for readback: %s\n", + pv.readfile, errorbuf); } /* * set the snaplen for the file (so we don't get a lot of extra crap