Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MacOS compile fix
  • Loading branch information
lxdicted committed Oct 3, 2020
commit 87db47da09580a67acec6a8a24ad55bbf31df9de
6 changes: 5 additions & 1 deletion src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
# include <arpa/nameser.h>
#endif

#ifndef T_CAA
# define T_CAA 257 /* Certification Authority Authorization */
#endif

#if defined(__OpenBSD__)
# define AI_V4MAPPED 0
#endif
Expand Down Expand Up @@ -1489,7 +1493,7 @@ class QueryCaaWrap: public QueryWrap {
}

int Send(const char* name) override {
AresQuery(name, ns_c_in, ns_t_caa);
AresQuery(name, ns_c_in, T_CAA);
return 0;
}

Expand Down