From: Wouter Wijngaards Date: Fri, 19 Sep 2008 12:20:59 +0000 (+0000) Subject: do not compare TTL on question section RRs. X-Git-Tag: release-1.4.0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7d80eed012601e43059eefaa912e7ed182d576;p=thirdparty%2Fldns.git do not compare TTL on question section RRs. --- diff --git a/examples/ldns-testpkts.c b/examples/ldns-testpkts.c index 583b9c56..64873def 100644 --- a/examples/ldns-testpkts.c +++ b/examples/ldns-testpkts.c @@ -640,7 +640,7 @@ match_all(ldns_pkt* q, ldns_pkt* p, bool mttl) { verbose(3, "allmatch: nscount different"); return 0;} if(ldns_pkt_arcount(q) != ldns_pkt_arcount(p)) { verbose(3, "allmatch: arcount different"); return 0;} - if(!match_list(ldns_pkt_question(q), ldns_pkt_question(p), mttl)) + if(!match_list(ldns_pkt_question(q), ldns_pkt_question(p), 0)) { verbose(3, "allmatch: qd section different"); return 0;} if(!match_list(ldns_pkt_answer(q), ldns_pkt_answer(p), mttl)) { verbose(3, "allmatch: an section different"); return 0;}