X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/6ec714988caac3bf9fedc766ae51a2248896ec80..32d1d15c5412b3a708ae2b45ed2016bdab9bb58b:/print-domain.c diff --git a/print-domain.c b/print-domain.c index 787a2d66..8aff4e99 100644 --- a/print-domain.c +++ b/print-domain.c @@ -254,6 +254,8 @@ ns_cprint(netdissect_options *ndo, return (cp + i); } +extern const struct tok ns_type2str[]; + /* http://www.iana.org/assignments/dns-parameters */ const struct tok ns_type2str[] = { { T_A, "A" }, /* RFC 1035 */ @@ -320,6 +322,8 @@ const struct tok ns_type2str[] = { { 0, NULL } }; +extern const struct tok ns_class2str[]; + const struct tok ns_class2str[] = { { C_IN, "IN" }, /* Not used */ { C_CHAOS, "CHAOS" },