From b7ee1387d5375dee1b54fc465c60f0d487860a45 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 24 Nov 2015 10:36:42 +0100 Subject: trafgen: Fix error message if no packet configuration is given Signed-off-by: Tobias Klauser --- trafgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trafgen.c b/trafgen.c index ba2393c..a845783 100644 --- a/trafgen.c +++ b/trafgen.c @@ -1084,7 +1084,7 @@ int main(int argc, char **argv) if (ctx.device == NULL) panic("No networking device given!\n"); if (confname == NULL && !ctx.packet_str) - panic("No configuration file given!\n"); + panic("No configuration file or packet string given!\n"); if (device_mtu(ctx.device) == 0) panic("This is no networking device!\n"); -- cgit v1.2.3-54-g00ecf