From 7f632c0640f174bbbc1deb532e3a3977d595d28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henryk=20Pl=C3=B6tz?= Date: Fri, 3 Oct 2014 20:22:01 +0200 Subject: Apply djbdns-1.05-dnssec.patch SHA1 62e2ce1d31f1fe908fac84fc8bd049a12621810f, contained in tinydnssec-1.05-1.3.tar.bz2 Source was http://www.tinydnssec.org/download/tinydnssec-1.05-1.3.tar.bz2, SHA1 b33d5c3e0de67f6427aad8c00a99580b59804075 --- printpacket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'printpacket.c') diff --git a/printpacket.c b/printpacket.c index 7571e08..39b303e 100644 --- a/printpacket.c +++ b/printpacket.c @@ -5,6 +5,7 @@ #include "dns.h" #include "printrecord.h" #include "printpacket.h" +#include "printtype.h" static char *d; @@ -67,8 +68,7 @@ unsigned int printpacket_cat(stralloc *out,char *buf,unsigned int len) X("weird class") } else { - uint16_unpack_big(data,&type); - NUM(type) + if (!printtype(out,data)) return 0; X(" ") if (!dns_domain_todot_cat(out,d)) return 0; } -- cgit v1.2.3