diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-11-24 10:36:42 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-11-24 10:36:42 +0100 |
commit | b7ee1387d5375dee1b54fc465c60f0d487860a45 (patch) | |
tree | 7092c3c073f39238f976126c1f41aecd414188c4 | |
parent | 6995883a9b6f5260977d448a6ba044013d68b935 (diff) |
trafgen: Fix error message if no packet configuration is given
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | trafgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |