summaryrefslogtreecommitdiff
path: root/randpkt_core/randpkt_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt_core/randpkt_core.h')
-rw-r--r--randpkt_core/randpkt_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/randpkt_core/randpkt_core.h b/randpkt_core/randpkt_core.h
index 4b5b73a276..36764764e8 100644
--- a/randpkt_core/randpkt_core.h
+++ b/randpkt_core/randpkt_core.h
@@ -55,7 +55,7 @@ int randpkt_parse_type(char *string);
randpkt_example* randpkt_find_example(int type);
/* Init a new example */
-void randpkt_example_init(randpkt_example* example, char* produce_filename, int produce_max_bytes);
+int randpkt_example_init(randpkt_example* example, char* produce_filename, int produce_max_bytes);
/* Loop the packet generation */
void randpkt_loop(randpkt_example* example, guint64 produce_count);