vswitchd: Move fail-mode config to Bridge table
[openvswitch] / utilities / ovs-dpctl.c
index df76e86e87d37af5abd8c0bdd98a7a16a100f0d2..fe44f27e26f0f5912b382c04e43b1cb0c88c9cdf 100644 (file)
@@ -40,9 +40,9 @@
 #include "svec.h"
 #include "timeval.h"
 #include "util.h"
-
 #include "vlog.h"
-#define THIS_MODULE VLM_dpctl
+
+VLOG_DEFINE_THIS_MODULE(dpctl)
 
 static const struct command all_commands[];
 
@@ -53,8 +53,6 @@ int
 main(int argc, char *argv[])
 {
     set_program_name(argv[0]);
-    time_init();
-    vlog_init();
     parse_options(argc, argv);
     signal(SIGPIPE, SIG_IGN);
     run_command(argc - optind, argv + optind, all_commands);