aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/udpdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/udpdump.c')
-rw-r--r--extcap/udpdump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/extcap/udpdump.c b/extcap/udpdump.c
index 50cbd75854..283f8f0930 100644
--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -358,10 +358,7 @@ int main(int argc, char *argv[])
char* port_msg = NULL;
/* Initialize log handler early so we can have proper logging during startup. */
- ws_log_init("udpdump", NULL);
-
- /* Early logging command-line initialization. */
- ws_log_parse_args(&argc, argv, NULL, LOG_ARGS_NOEXIT);
+ extcap_log_init("udpdump");
/*
* Get credential information for later use.