if (client == NULL)
return create_client(fd, addr, rtr_version);
- /* TODO Isn't ready to handle distinct version on clients reconnection */
+ /*
+ * Isn't ready to handle distinct version on clients reconnection, but for
+ * now there's no problem since only 1 RTR version is supported (RVR v0).
+ */
if (client->rtr_version != rtr_version)
return -EINVAL;
}
/*
- * TODO Exclusively for RTR v1, so this are optional values to configure
+ * Exclusively for RTR v1, so this are optional values to configure
* since RTR v1 isn't fully supported yet
*/
interval = json_object_get(root, OPTNAME_RTR_INTERVAL);