vswitchd: Move fail-mode config to Bridge table
[openvswitch] / utilities / ovs-dpctl.c
index dbdd2e6f63a140ebf8c771fe17532f88cdc73f0e..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,7 +53,6 @@ int
 main(int argc, char *argv[])
 {
     set_program_name(argv[0]);
-    vlog_init();
     parse_options(argc, argv);
     signal(SIGPIPE, SIG_IGN);
     run_command(argc - optind, argv + optind, all_commands);