aboutsummaryrefslogtreecommitdiffstats
path: root/extcap
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-12-04 22:15:31 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-05 00:28:26 +0000
commitcef5e81146d8f48bbd00725becd1fd0af7f5ce9e (patch)
tree8a1888adf8ace99c5d688d70248d7aaed1351218 /extcap
parent6ef2b48fc0c984eaee7f540bd45bb77fb0cb39c0 (diff)
Define more log domains for extcaps
Diffstat (limited to 'extcap')
-rw-r--r--extcap/androiddump.c1
-rw-r--r--extcap/etl.c2
-rw-r--r--extcap/etw_message.c1
-rw-r--r--extcap/etwdump.c1
-rw-r--r--extcap/extcap-base.c1
-rw-r--r--extcap/randpktdump.c1
-rw-r--r--extcap/ssh-base.c1
7 files changed, 8 insertions, 0 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 97cfbf19a0..85479cf7ec 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -10,6 +10,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
+#define WS_LOG_DOMAIN "androiddump"
#include "extcap-base.h"
diff --git a/extcap/etl.c b/extcap/etl.c
index 9a74e3ccc9..b2f3c866f6 100644
--- a/extcap/etl.c
+++ b/extcap/etl.c
@@ -16,6 +16,8 @@
*/
#include "config.h"
+#define WS_LOG_DOMAIN "etwdump"
+
#include "etl.h"
#include "wsutil/ws_getopt.h"
#include "wsutil/strtoi.h"
diff --git a/extcap/etw_message.c b/extcap/etw_message.c
index 0a5a983b0e..ff40758f60 100644
--- a/extcap/etw_message.c
+++ b/extcap/etw_message.c
@@ -9,6 +9,7 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
+#define WS_LOG_DOMAIN "etwdump"
#include "etw_message.h"
#include <wsutil/wslog.h>
diff --git a/extcap/etwdump.c b/extcap/etwdump.c
index fd0d1a03c0..9e7b845fb7 100644
--- a/extcap/etwdump.c
+++ b/extcap/etwdump.c
@@ -11,6 +11,7 @@
*/
#include "config.h"
+#define WS_LOG_DOMAIN "etwdump"
#include "extcap-base.h"
diff --git a/extcap/extcap-base.c b/extcap/extcap-base.c
index 2ebbad9665..358e8cd084 100644
--- a/extcap/extcap-base.c
+++ b/extcap/extcap-base.c
@@ -11,6 +11,7 @@
*/
#include "config.h"
+#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include "extcap-base.h"
diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c
index 1da3443bac..e084a27867 100644
--- a/extcap/randpktdump.c
+++ b/extcap/randpktdump.c
@@ -11,6 +11,7 @@
*/
#include "config.h"
+#define WS_LOG_DOMAIN "randpktdump"
#include "extcap-base.h"
diff --git a/extcap/ssh-base.c b/extcap/ssh-base.c
index 37e152a89c..309b1f530e 100644
--- a/extcap/ssh-base.c
+++ b/extcap/ssh-base.c
@@ -11,6 +11,7 @@
*/
#include "config.h"
+#define WS_LOG_DOMAIN LOG_DOMAIN_EXTCAP
#include "ssh-base.h"