summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-24 10:36:42 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-24 10:36:42 +0100
commitb7ee1387d5375dee1b54fc465c60f0d487860a45 (patch)
tree7092c3c073f39238f976126c1f41aecd414188c4 /trafgen.c
parent6995883a9b6f5260977d448a6ba044013d68b935 (diff)
trafgen: Fix error message if no packet configuration is given
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.c')
-rw-r--r--trafgen.c2
1 files changed, 1 insertions, 1 deletions
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");