Initialize the timetracking module in each userspace program.
Also, use time_alarm() instead of the POSIX alarm() function, because alarm() interferes with time_alarm().
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
#include "openflow.h"
|
||||
#include "poll-loop.h"
|
||||
#include "rconn.h"
|
||||
#include "timeval.h"
|
||||
#include "util.h"
|
||||
#include "vconn-ssl.h"
|
||||
#include "vconn.h"
|
||||
@@ -89,6 +90,7 @@ main(int argc, char *argv[])
|
||||
|
||||
set_program_name(argv[0]);
|
||||
register_fault_handlers();
|
||||
time_init();
|
||||
vlog_init();
|
||||
parse_options(argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user