]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: resolvers: remove unused RSLV_UPD_OBSOLETE_IP flag
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 28 Dec 2023 10:50:05 +0000 (11:50 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 2 Jan 2024 09:29:33 +0000 (10:29 +0100)
RSLV_UPD_OBSOLETE_IP was introduced with commit a8c6db8d2 ("MINOR: dns:
Cache previous DNS answers.") but the commit didn't make any use of it,
and today the flag is still unused. Since we have no valid use for it,
better remove it to prevent confusions.

include/haproxy/resolvers-t.h

index 9d291614d2474b94165be90024d2215c619c8b7e..486c9641cefe37ac709ed5bd7644f1cd5d072ca0 100644 (file)
@@ -277,7 +277,6 @@ enum {
        RSLV_UPD_CNAME,            /* CNAME without any IP provided in the response */
        RSLV_UPD_NAME_ERROR,       /* name in the response did not match the query */
        RSLV_UPD_NO_IP_FOUND,      /* no IP could be found in the response */
-       RSLV_UPD_OBSOLETE_IP,      /* The server IP was obsolete, and no other IP was found */
 };
 
 struct proxy;