diff --git a/owlps-client/owlps-client.c b/owlps-client/owlps-client.c index 5b5c1ca..395629b 100644 --- a/owlps-client/owlps-client.c +++ b/owlps-client/owlps-client.c @@ -428,38 +428,38 @@ 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" - "\tDirection: %"PRIu8"\n" - "\tX: %f\n" - "\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, - options.direction, - options.x, - options.y, - options.z + printf("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" + "\tDirection: %"PRIu8"\n" + "\tX: %f\n" + "\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, + options.direction, + options.x, + options.y, + options.z ) ; }