- ND_PRINT((ndo, " %s", tok2str(ns_type2str, "Type%d",
- EXTRACT_BE_U_2(&grbn->rdtype))));
- if (EXTRACT_BE_U_2(&grbn->rdclass) != C_IN) {
- ND_PRINT((ndo, " %s", tok2str(ns_class2str, "Class%d",
- EXTRACT_BE_U_2(&grbn->rdclass))));
+ ND_PRINT(" %s", tok2str(ns_type2str, "Type%u",
+ GET_BE_U_2(grbn->rdtype)));
+ if (GET_BE_U_2(grbn->rdclass) != C_IN) {
+ ND_PRINT(" %s", tok2str(ns_class2str, "Class%u",
+ GET_BE_U_2(grbn->rdclass)));