ofp-parse: Break string-to-openflow parsing into library functions
[openvswitch] / utilities / ovs-openflowd.c
index ebfc3c33efc84e9fe7af5873f2894f803104d6d3..bb77d589658de070a0bf25b6be1e0a02e2ce75e5 100644 (file)
@@ -44,9 +44,9 @@
 #include "unixctl.h"
 #include "util.h"
 #include "vconn.h"
-
 #include "vlog.h"
-#define THIS_MODULE VLM_openflowd
+
+VLOG_DEFINE_THIS_MODULE(openflowd)
 
 /* Settings that may be configured by the user. */
 struct ofsettings {
@@ -96,8 +96,6 @@ main(int argc, char *argv[])
 
     proctitle_init(argc, argv);
     set_program_name(argv[0]);
-    time_init();
-    vlog_init();
     parse_options(argc, argv, &s);
     signal(SIGPIPE, SIG_IGN);