summaryrefslogtreecommitdiff
path: root/print-domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-domain.c')
-rw-r--r--print-domain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-domain.c b/print-domain.c
index 95301a9f..ee39c436 100644
--- a/print-domain.c
+++ b/print-domain.c
@@ -338,7 +338,7 @@ ns_qprint(netdissect_options *ndo,
cp = ns_nskip(ndo, cp);
- if (cp == NULL || !ND_TTEST2(*cp, 4))
+ if (cp == NULL || !ND_TTEST_4(cp))
return(NULL);
/* print the qtype */
@@ -467,7 +467,7 @@ ns_rprint(netdissect_options *ndo,
break;
case T_MX:
ND_PRINT((ndo, " "));
- if (!ND_TTEST2(*cp, 2))
+ if (!ND_TTEST_2(cp))
return(NULL);
if (ns_nprint(ndo, cp + 2, bp) == NULL)
return(NULL);
@@ -486,7 +486,7 @@ ns_rprint(netdissect_options *ndo,
case T_SRV:
ND_PRINT((ndo, " "));
- if (!ND_TTEST2(*cp, 6))
+ if (!ND_TTEST_6(cp))
return(NULL);
if (ns_nprint(ndo, cp + 6, bp) == NULL)
return(NULL);