add a log message, if capture start failed
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 17 Feb 2006 22:36:59 +0000 (22:36 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 17 Feb 2006 22:36:59 +0000 (22:36 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17340 f5534014-38df-0310-8fa8-9805f1628bb7

capture.c

index d069db898b5fc40e841eb3fc439a6a9809f2a2ec..b5556ce84cccccba34dc1449bbb1f05387610662 100644 (file)
--- a/capture.c
+++ b/capture.c
@@ -96,6 +96,7 @@ capture_start(capture_options *capture_opts)
           capture_opts->save_file = NULL;
       }
 
+      g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_MESSAGE, "Capture Start failed!");
       capture_opts->state = CAPTURE_STOPPED;
   } else {
       /* the capture child might not respond shortly after bringing it up */