From: pcarana Date: Tue, 19 Mar 2019 16:07:47 +0000 (-0600) Subject: Remove some TODOs X-Git-Tag: v0.0.2~52^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5dc969e0a54babc2bb8691ef19ce67f581f7ff7d;p=thirdparty%2FFORT-validator.git Remove some TODOs --- diff --git a/src/clients.c b/src/clients.c index 6e5ee992..ec95a9d6 100644 --- a/src/clients.c +++ b/src/clients.c @@ -95,7 +95,10 @@ update_client(int fd, struct sockaddr_storage *addr, u_int8_t rtr_version) 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; diff --git a/src/configuration.c b/src/configuration.c index bc685444..18396059 100644 --- a/src/configuration.c +++ b/src/configuration.c @@ -193,7 +193,7 @@ handle_json(json_t *root) } /* - * 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);