aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-30 20:17:26 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-30 20:17:26 +0000
commit8d4b1f66f2644bee26941495feb60a8b4b1e7d03 (patch)
tree190eb2982b1c0a3509c740dff720a555bc9abc81 /dumpcap.c
parentea469fa188aeedeb8122145b35d7c090516e9a20 (diff)
Log the success or failure of pcap_open/pcap_create/pcap_open_live.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37846 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 3e3a475730..844c456069 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -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;
}