vswitchd: Initialize SSL keys before making SSL connections.
[openvswitch] / vswitchd / ovs-vswitchd.c
index 01f2ac29c7eecb8b0ab0343df1197a8e6575be85..cd30c96d309762f96b4afb9c90bff079316181a7 100644 (file)
@@ -41,6 +41,7 @@
 #include "signals.h"
 #include "stream-ssl.h"
 #include "stream.h"
+#include "stress.h"
 #include "svec.h"
 #include "timeval.h"
 #include "unixctl.h"
@@ -67,6 +68,7 @@ main(int argc, char *argv[])
 
     proctitle_init(argc, argv);
     set_program_name(argv[0]);
+    stress_init_command();
     remote = parse_options(argc, argv);
     signal(SIGPIPE, SIG_IGN);
     sighup = signal_register(SIGHUP);
@@ -105,6 +107,8 @@ main(int argc, char *argv[])
         }
         poll_block();
     }
+    bridge_exit();
+    unixctl_server_destroy(unixctl);
 
     return 0;
 }