From: Tinderbox User Date: Tue, 30 Apr 2013 04:51:59 +0000 (+0000) Subject: update copyright notice X-Git-Tag: v9.10.0a1~383 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=954e43e60522932e71ac491778b3de3b5ec051a6;p=thirdparty%2Fbind9.git update copyright notice --- diff --git a/bin/check/named-checkconf.c b/bin/check/named-checkconf.c index 6e832dd6c3e..0b3c508f28c 100644 --- a/bin/check/named-checkconf.c +++ b/bin/check/named-checkconf.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009-2013 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/bin/tests/system/spf/clean.sh b/bin/tests/system/spf/clean.sh index 9c95122b661..2e3a0eebc0a 100644 --- a/bin/tests/system/spf/clean.sh +++ b/bin/tests/system/spf/clean.sh @@ -1,2 +1,16 @@ +# Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC") +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + rm -f ns1/named.run rm -f ns1/named.memstats diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 592355a2b81..0eecdd40647 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -2744,19 +2744,19 @@ integrity_checks(dns_zone_t *zone, dns_db_t *db) { * Check if there is a type TXT spf record without a type SPF * RRset being present. */ - if (!DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKSPF)) + if (!DNS_ZONE_OPTION(zone, DNS_ZONEOPT_CHECKSPF)) goto next; if (zone->rdclass != dns_rdataclass_in) goto next; have_spf = have_txt = ISC_FALSE; result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_spf, - 0, 0, &rdataset, NULL); + 0, 0, &rdataset, NULL); if (result == ISC_R_SUCCESS) { dns_rdataset_disassociate(&rdataset); have_spf = ISC_TRUE; } result = dns_db_findrdataset(db, node, NULL, dns_rdatatype_txt, - 0, 0, &rdataset, NULL); + 0, 0, &rdataset, NULL); if (result != ISC_R_SUCCESS) goto notxt; result = dns_rdataset_first(&rdataset);