From cfb6ca881132f7d44121935f55493e144511fbb6 Mon Sep 17 00:00:00 2001 From: Michael Grunder Date: Fri, 2 Sep 2022 09:57:18 -0700 Subject: Add REDIS_OPT_PREFER_UNSPEC (#1101) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add REDIS_OPT_PREFER_UNSPEC See: #1099, #1096 Co-authored-by: Viktor Söderqvist Co-authored-by: Viktor Söderqvist Co-authored-by: Viktor Söderqvist --- hiredis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 1cbdde4..41cab2d 100644 --- a/hiredis.h +++ b/hiredis.h @@ -156,6 +156,7 @@ struct redisSsl; #define REDIS_OPT_REUSEADDR 0x02 #define REDIS_OPT_PREFER_IPV4 0x04 #define REDIS_OPT_PREFER_IPV6 0x08 +#define REDIS_OPT_PREFER_IP_UNSPEC (REDIS_OPT_PREFER_IPV4 | REDIS_OPT_PREFER_IPV6) /** * Don't automatically free the async object on a connection failure, -- cgit v1.2.3