From 299501845d8047815e73fb005f5a900878a72a35 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 28 Dec 2023 11:50:05 +0100 Subject: [PATCH] CLEANUP: resolvers: remove unused RSLV_UPD_OBSOLETE_IP flag 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/include/haproxy/resolvers-t.h b/include/haproxy/resolvers-t.h index 9d291614d2..486c9641ce 100644 --- a/include/haproxy/resolvers-t.h +++ b/include/haproxy/resolvers-t.h @@ -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;