Without this change, vswitchd will kill secchan almost as soon as it
starts it, because it fails to recognize that it is connecting to a remote
controller instead of to vswitchd.
if (process_exited(br->secchan)) {
log_secchan_died(VLL_ERR, br, false);
br->sc_state = SC_UNSTARTED;
- } else if (!rconn_is_alive(br->rconn)) {
+ } else if (!br->controller && !rconn_is_alive(br->rconn)) {
VLOG_ERR("%s: connection to secchan closed unexpectedly, "
"killing secchan", br->name);
kill_secchan(br);