summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authorjakob <>2007-10-11 18:36:41 +0000
committerjakob <>2007-10-11 18:36:41 +0000
commit115b8b7d4830ff4c5f4180f7d64cd57307f5f909 (patch)
tree462aa016167755635ce692cc1a4ed1c5f78e35d2 /src/lib/libc/net/res_debug.c
parentbd1e03a2e6753a3548e4e72197b9ca31041d113a (diff)
downloadopenbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.tar.gz
openbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.tar.bz2
openbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.zip
use RRSIG instead of SIG for DNSSEC. ok djm@
Diffstat (limited to 'src/lib/libc/net/res_debug.c')
-rw-r--r--src/lib/libc/net/res_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/res_debug.c b/src/lib/libc/net/res_debug.c
index 8e72c2a5e5..246fefef3c 100644
--- a/src/lib/libc/net/res_debug.c
+++ b/src/lib/libc/net/res_debug.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_debug.c,v 1.21 2005/08/06 20:30:04 espie Exp $ */ 1/* $OpenBSD: res_debug.c,v 1.22 2007/10/11 18:36:41 jakob Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1990, 1993 4 * ++Copyright++ 1985, 1990, 1993
@@ -751,6 +751,7 @@ __p_rr(const u_char *cp, const u_char *msg, FILE *file)
751 break; 751 break;
752 752
753 case T_SIG: 753 case T_SIG:
754 case T_RRSIG:
754 type = _getshort((u_char*)cp); 755 type = _getshort((u_char*)cp);
755 cp += INT16SZ; 756 cp += INT16SZ;
756 fprintf(file, " %s", p_type(type)); 757 fprintf(file, " %s", p_type(type));