diff --git a/qdevices/qdevice-net-heuristics.c b/qdevices/qdevice-net-heuristics.c index 5757fab..050821e 100644 --- a/qdevices/qdevice-net-heuristics.c +++ b/qdevices/qdevice-net-heuristics.c @@ -207,10 +207,12 @@ qdevice_net_connect_heuristics_exec_result_callback(uint32_t seq_number, return (0); } - if (net_instance->state != QDEVICE_NET_INSTANCE_STATE_WAITING_VOTEQUORUM_CMAP_EVENTS) { + if (net_instance->state != QDEVICE_NET_INSTANCE_STATE_WAITING_INIT_REPLY) { /* * Not connected to qnetd -> heuristics will be called again on new connect */ + log(LOG_DEBUG, "Received unexpected net connect heuristics in state %u", + net_instance->state); return (0); }