[Client] check_configuration(): add missing options

This commit is contained in:
Matteo Cypriani 2013-09-13 10:16:59 -04:00
parent 647b025840
commit bd94f128b3
1 changed files with 6 additions and 0 deletions

View File

@ -427,11 +427,14 @@ void check_configuration()
void print_configuration()
{
fprintf(stderr, "Options:\n"
"\tDaemon: %s\n"
"\tVerbose: %s\n"
"\tDestination IP: %s\n"
"\tDestination port: %"PRIuFAST16"\n"
"\tInterface: %s\n"
"\tDelay (ms): %"PRIdFAST32"\n"
"\tNumber of packets: %"PRIuFAST16"\n"
"\tPacket size: %"PRIuFAST16"\n"
"\tFlood delay (ms): %"PRIdFAST32"\n"
"\tNumber of requests: %"PRIuFAST16"\n"
"\tListening port: %"PRIuFAST16"\n"
@ -440,11 +443,14 @@ void print_configuration()
"\tY: %f\n"
"\tZ: %f\n"
,
OWL_BOOL_TO_STRING(options.daemon),
OWL_BOOL_TO_STRING(options.verbose),
options.dest_ip,
options.dest_port,
options.iface,
options.delay,
options.nb_pkt,
options.pkt_size,
options.flood_delay,
options.nb_requests,
options.listening_port,