[Listener] Fix autocalibration_ip defaulting

autocalibration_ip was not set to its default value (aggregation_ip) if
not set.
This commit is contained in:
Matteo Cypriani 2011-03-11 13:35:30 +01:00
parent 8e1466eacc
commit c2b7b52a55
1 changed files with 2 additions and 1 deletions

View File

@ -396,6 +396,7 @@ void check_configuration()
fprintf(stderr, "No autocalibration IP specified, we will use"
" the aggregation IP as the destination of"
" autocalibration requests.\n") ;
SET_AUTOCALIBRATION_IP(GET_AGGREGATION_IP()) ;
}
// Port numbers //
@ -450,7 +451,7 @@ void print_configuration()
#ifdef USE_PTHREAD
"keep_monitor = %s\n"
"autocalibration = %s\n"
"autocalibration_ip = %s\n"
"autocalibration_ip = \"%s\"\n"
"autocalibration_request_port = %"PRIuFAST16"\n"
"autocalibration_port = %"PRIuFAST16"\n"
"autocalibration_hello_delay = %"PRIuFAST32"\n"