Menu

#8 Wrong Error Message

trunk
closed-fixed
Aex Aey
None
3
2012-04-16
2012-04-14
No

printf("Reading file: %s\n", fname);
net = 0;
mask = 0;
handle = pcap_open_offline(fname, errbuf);
if (handle == NULL) {
fprintf(stderr, "Couldn't open pcap file '%s': %s\n", ifname, errbuf);
return(2);
}

It should be FNAME and not IFNAME for the error message.

Discussion

  • Nicholas Blasgen

    • assigned_to: nobody --> aexaey
    • priority: 5 --> 3
    • milestone: --> trunk
     
  • Aex Aey

    Aex Aey - 2012-04-16
    • status: open --> closed-fixed
     

Log in to post a comment.