]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Remove some TODOs
authorpcarana <pc.moreno2099@gmail.com>
Tue, 19 Mar 2019 16:07:47 +0000 (10:07 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 19 Mar 2019 16:07:47 +0000 (10:07 -0600)
src/clients.c
src/configuration.c

index 6e5ee9921bb3127c00b0b5afb7da3c4b4b641361..ec95a9d6c5f59a9a6ba6e25e2b7c0cc583f0f2a8 100644 (file)
@@ -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;
 
index bc685444fff849147ec4431851ccc353f14f5315..1839605931ed1b7dc1bb0d46b55e9284ad59b2ae 100644 (file)
@@ -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);