aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt_core/randpkt_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt_core/randpkt_core.c')
-rw-r--r--randpkt_core/randpkt_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randpkt_core/randpkt_core.c b/randpkt_core/randpkt_core.c
index 44a54f1ad7..e84cb39d3c 100644
--- a/randpkt_core/randpkt_core.c
+++ b/randpkt_core/randpkt_core.c
@@ -704,7 +704,7 @@ void randpkt_example_init(randpkt_example* example, char* produce_filename, int
pkt_rand = g_rand_new();
}
- wtap_opttypes_initialize();
+ wtap_init();
if (strcmp(produce_filename, "-") == 0) {
/* Write to the standard output. */