]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
Deleted a comment.
authorKarel Slany <karel.slany@nic.cz>
Tue, 26 Jul 2016 08:12:22 +0000 (10:12 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 11 Aug 2016 12:06:45 +0000 (14:06 +0200)
lib/resolve.c

index 32fc1d8fa2cee08f44ae1a7948ae237da876c8f3..f6b8dad1d83da54da87f86186f3dbade0cdb2c6d 100644 (file)
@@ -830,12 +830,11 @@ int kr_resolve_query_finalize(struct kr_request *request, struct sockaddr *src,
 #if defined(ENABLE_COOKIES)
        /* Update DNS cookies in request. */
        if (type == SOCK_DGRAM) { /* @todo: Add cookies also over TCP? */
-               /* The actual server IP address is needed before generating the
+               /*
+                * The actual server IP address is needed before generating the
                 * actual cookie. If we don't know the server address then we
                 * also don't know the actual cookie size.
-                * Also the resolver somehow mangles the query packets before
-                * building the query i.e. the space needed for the cookie
-                * cannot be allocated in the cookie layer. */
+                */
                if (!outbound_request_update_cookies(request, src, dst)) {
                        return kr_error(EINVAL);
                }