fix
This commit is contained in:
parent
8e0d3a6b69
commit
65df8438ce
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ int main(int argc, char **argv) {
|
|||
{
|
||||
pcap_handle = pcap_open_offline(vm["input"].as<string>().c_str(), error_buffer);
|
||||
if (pcap_handle == NULL) {
|
||||
pcap_fatal("pcap_open_live", error_buffer);
|
||||
pcap_fatal("pcap_open_offline", error_buffer);
|
||||
}
|
||||
|
||||
cerr<<">> Reading packets from "<<vm["input"].as<string>()<<endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue