]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice / whitespace
authorTinderbox User <tbox@isc.org>
Wed, 28 Dec 2016 23:52:29 +0000 (23:52 +0000)
committerTinderbox User <tbox@isc.org>
Wed, 28 Dec 2016 23:52:29 +0000 (23:52 +0000)
bin/named/server.c
bin/tests/system/addzone/ns2/hints.db
bin/tests/system/addzone/ns2/redirect.db
lib/dns/message.c

index 73c292d85cdf7de48c48ccbce16732c9118f16ab..48b0213bfff783d7bdacc8a265b7c8cfc342be02 100644 (file)
@@ -9269,7 +9269,7 @@ ns_server_add_zone(ns_server_t *server, char *args, isc_buffer_t *text) {
 
        /* Check the zone type for ones that are not supported by addzone. */
        zoptions = cfg_tuple_get(parms, "options");
+
        obj = NULL;
        (void)cfg_map_get(zoptions, "type", &obj);
        if (obj == NULL) {
@@ -9282,7 +9282,7 @@ ns_server_add_zone(ns_server_t *server, char *args, isc_buffer_t *text) {
                        (void) putstr(text, "zone type not specified");
                CHECK(ISC_R_FAILURE);
        }
+
        if (strcasecmp(cfg_obj_asstring(obj), "hint") == 0 ||
            strcasecmp(cfg_obj_asstring(obj), "forward") == 0 ||
            strcasecmp(cfg_obj_asstring(obj), "redirect") == 0 ||
index 274ec9a84579e6d517a23e4b8630a23908730c93..6c3e8a575d49857b51e3c31d119fcdf489e68edd 100644 (file)
@@ -1,8 +1,16 @@
-; Copyright (C) 2000, 2001, 2004, 2007, 2016  Internet Systems Consortium, Inc. ("ISC")
+; Copyright (C) 2016  Internet Systems Consortium, Inc. ("ISC")
 ;
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
+; 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.
 
 ; $Id: root.hint,v 1.5 2007/06/19 23:47:01 tbox Exp $
 
index 63a371b4bea08114e79965fc7ac9ca65d2ec6276..e9e543a65fe02e1cfdaa602cae7b0303785e4d2d 100644 (file)
@@ -1,7 +1,16 @@
 ; Copyright (C) 2016  Internet Systems Consortium, Inc. ("ISC")
-; 
-; This Source Code Form is subject to the terms of the Mozilla Public
-; License, v. 2.0. If a copy of the MPL was not distributed with this
-; file, You can obtain one at http://mozilla.org/MPL/2.0/.
+;
+; 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.
+
 @      0       SOA     . . 0 0 0 0 0
 @      0       NS      .
index 5b8166a17977f914b83175390b66dadd9e9c13c7..e76863afc843e906c014ed9fef9e278ca2042463 100644 (file)
@@ -1638,7 +1638,7 @@ getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx,
            ((msg->flags & DNS_MESSAGEFLAG_QR) != 0) &&
            ((msg->flags & DNS_MESSAGEFLAG_TC) == 0) &&
            !preserve_order &&
-           !auth_signed(section)) 
+           !auth_signed(section))
                DO_FORMERR;
 
        if (seen_problem)