Log the success or failure of pcap_open/pcap_create/pcap_open_live.

svn path=/trunk/; revision=37846
This commit is contained in:
Gerald Combs 2011-06-30 20:17:26 +00:00
parent c16a2eed34
commit 031a28f65e
1 changed files with 1 additions and 0 deletions

View File

@ -618,6 +618,7 @@ open_capture_device(interface_options *interface_opts,
*open_err_str);
#endif
}
g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "open_capture_device %s : %s", pcap_h ? "SUCCESS" : "FAILURE", interface_opts->name);
return pcap_h;
}