diff options
author | Michael Grunder <michael.grunder@gmail.com> | 2022-09-02 09:57:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 09:57:18 -0700 |
commit | cfb6ca881132f7d44121935f55493e144511fbb6 (patch) | |
tree | ab9836d0c06d9e18f67f94faef51479a5e6a9588 /hiredis.h | |
parent | cc7c35ce6091571b292c1daeb93ce91d1b809ee6 (diff) |
Add REDIS_OPT_PREFER_UNSPEC (#1101)
Add REDIS_OPT_PREFER_UNSPEC
See: #1099, #1096
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |