X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/8c31bfcebef44663c1025b6c4a9cb7b6c62ef24e..ce1fc8263da72437c1df54b8b3ee682413d9e6ed:/print-domain.c diff --git a/print-domain.c b/print-domain.c index 4bf1a52d..9c229e03 100644 --- a/print-domain.c +++ b/print-domain.c @@ -19,11 +19,6 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.98 2007-12-09 01:40:32 guy Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -242,7 +237,7 @@ ns_cprint(register const u_char *cp) } /* http://www.iana.org/assignments/dns-parameters */ -struct tok ns_type2str[] = { +const struct tok ns_type2str[] = { { T_A, "A" }, /* RFC 1035 */ { T_NS, "NS" }, /* RFC 1035 */ { T_MD, "MD" }, /* RFC 1035 */ @@ -307,7 +302,7 @@ struct tok ns_type2str[] = { { 0, NULL } }; -struct tok ns_class2str[] = { +const struct tok ns_class2str[] = { { C_IN, "IN" }, /* Not used */ { C_CHAOS, "CHAOS" }, { C_HS, "HS" },