From 41cdd38962d0649941ec2732b02662b05ac0172a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 7 Aug 2016 13:35:53 +0200 Subject: [PATCH] utils_dns.c: fix build on OSX utils_dns.c:759:11: error: use of undeclared identifier 'ns_t_apl' case ns_t_apl: return ("APL"); Apparently Apple forgot to add some record types when they bumped the version number of /usr/include/arpa/nameser.h --- src/utils_dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_dns.c b/src/utils_dns.c index e0b8452f..f38a7bd1 100644 --- a/src/utils_dns.c +++ b/src/utils_dns.c @@ -756,10 +756,10 @@ const char *qtype_str(int t) case ns_t_a6: return ("A6"); case ns_t_dname: return ("DNAME"); case ns_t_sink: return ("SINK"); - case ns_t_apl: return ("APL"); case ns_t_tsig: return ("TSIG"); # endif # if __NAMESER >= 20090302 + case ns_t_apl: return ("APL"); case ns_t_ds: return ("DS"); case ns_t_sshfp: return ("SSHFP"); case ns_t_ipseckey: return ("IPSECKEY"); -- 2.30.2