diff options
Diffstat (limited to 'libc/dns/resolv/res_debug.c')
-rw-r--r-- | libc/dns/resolv/res_debug.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/libc/dns/resolv/res_debug.c b/libc/dns/resolv/res_debug.c index 5f889cb23..4fe75534d 100644 --- a/libc/dns/resolv/res_debug.c +++ b/libc/dns/resolv/res_debug.c @@ -126,9 +126,27 @@ __RCSID("$NetBSD: res_debug.c,v 1.13 2012/06/25 22:32:45 abs Exp $"); #include <strings.h> #include <time.h> -extern const char * const _res_opcodes[]; extern const char * const _res_sectioncodes[]; +__LIBC_HIDDEN__ const char* const _res_opcodes[] = { + "QUERY", + "IQUERY", + "CQUERYM", + "CQUERYU", /* experimental */ + "NOTIFY", /* experimental */ + "UPDATE", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "13", + "ZONEINIT", + "ZONEREF", +}; + #ifndef _LIBC /* * Print the current options. |