]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorTinderbox User <tbox@isc.org>
Tue, 22 Apr 2014 23:45:19 +0000 (23:45 +0000)
committerTinderbox User <tbox@isc.org>
Tue, 22 Apr 2014 23:45:19 +0000 (23:45 +0000)
bin/dig/dighost.c
bin/tests/system/masterformat/ns1/named.conf
bin/tests/system/masterformat/ns2/named.conf
bin/tests/system/masterformat/tests.sh
lib/dns/include/dns/types.h
lib/dns/tests/update_test.c
lib/dns/update.c
lib/lwres/include/lwres/lwres.h

index e49b5538a08b6aaf9837f0da58d897832786e4f1..3b26fb30e849ee023b150e16733137fca4150740 100644 (file)
@@ -1486,37 +1486,37 @@ static unsigned char ednsoptscnt = 0;
 
 void
 save_opt(dig_lookup_t *lookup, char *code, char *value) {
-        isc_uint32_t num;
-        isc_buffer_t b;
-        isc_result_t result;
+       isc_uint32_t num;
+       isc_buffer_t b;
+       isc_result_t result;
 
-        if (ednsoptscnt == EDNSOPTS)
-                fatal("too many ednsopts");
+       if (ednsoptscnt == EDNSOPTS)
+               fatal("too many ednsopts");
 
-        result = parse_uint(&num, code, 65535, "ednsopt");
+       result = parse_uint(&num, code, 65535, "ednsopt");
        if (result != ISC_R_SUCCESS)
                fatal("bad edns code point: %s", code);
 
-        ednsopts[ednsoptscnt].code = num;
-        ednsopts[ednsoptscnt].length = 0;
-        ednsopts[ednsoptscnt].value = NULL;
-
-        if (value != NULL) {
-                char *buf;
-                buf = isc_mem_allocate(mctx, strlen(value)/2 + 1);
-                if (buf == NULL)
-                        fatal("out of memory");
-                isc_buffer_init(&b, buf, strlen(value)/2 + 1);
-                result = isc_hex_decodestring(value, &b);
-                check_result(result, "isc_hex_decodestring");
-                ednsopts[ednsoptscnt].value = isc_buffer_base(&b);
-                ednsopts[ednsoptscnt].length = isc_buffer_usedlength(&b);
-        }
-
-        if (lookup->ednsoptscnt == 0)
-                lookup->ednsopts = &ednsopts[ednsoptscnt];
-        lookup->ednsoptscnt++;
-        ednsoptscnt++;
+       ednsopts[ednsoptscnt].code = num;
+       ednsopts[ednsoptscnt].length = 0;
+       ednsopts[ednsoptscnt].value = NULL;
+
+       if (value != NULL) {
+               char *buf;
+               buf = isc_mem_allocate(mctx, strlen(value)/2 + 1);
+               if (buf == NULL)
+                       fatal("out of memory");
+               isc_buffer_init(&b, buf, strlen(value)/2 + 1);
+               result = isc_hex_decodestring(value, &b);
+               check_result(result, "isc_hex_decodestring");
+               ednsopts[ednsoptscnt].value = isc_buffer_base(&b);
+               ednsopts[ednsoptscnt].length = isc_buffer_usedlength(&b);
+       }
+
+       if (lookup->ednsoptscnt == 0)
+               lookup->ednsopts = &ednsopts[ednsoptscnt];
+       lookup->ednsoptscnt++;
+       ednsoptscnt++;
 }
 
 /*%
@@ -2499,7 +2499,7 @@ setup_lookup(dig_lookup_t *lookup) {
 
                if (lookup->ednsoptscnt != 0) {
                        memmove(&opts[i], lookup->ednsopts,
-                               sizeof(dns_ednsopt_t) * lookup->ednsoptscnt);
+                               sizeof(dns_ednsopt_t) * lookup->ednsoptscnt);
                        i += lookup->ednsoptscnt;
                }
 
index d4ce644f057d16ba3d9dd90d0612fed81a9fa333..0968e729e03013d26dc6cd0ba13297fc5cc6b948 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005, 2007, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2005, 2007, 2011-2014  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
index b1900579c3f4dfba36ee739c038a9d531eef6b86..8da301ef1f67644e5952ecf410955cd1d490032e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005, 2007, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2005, 2007, 2011, 2012, 2014  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
@@ -22,7 +22,7 @@ options {
        pid-file "named.pid";
        listen-on port 5300 { 10.53.0.2; };
        listen-on-v6 { none; };
-        port 5300;
+       port 5300;
        recursion no;
        notify no;
        dnssec-enable yes;
@@ -34,22 +34,22 @@ zone "example" {
 };
 
 zone "transfer1" {
-        type slave;
-        masters { 10.53.0.1; };
-        file "transfer.db.raw";
+       type slave;
+       masters { 10.53.0.1; };
+       file "transfer.db.raw";
 };
 
 zone "transfer2" {
-        type slave;
-        masters { 10.53.0.1; };
-        masterfile-format text;
-        file "transfer.db.txt";
+       type slave;
+       masters { 10.53.0.1; };
+       masterfile-format text;
+       file "transfer.db.txt";
 };
 
 zone "transfer3" {
-        type slave;
-        masters { 10.53.0.1; };
-        file "formerly-text.db";
+       type slave;
+       masters { 10.53.0.1; };
+       file "formerly-text.db";
 };
 
 zone "transfer4" {
@@ -61,8 +61,8 @@ zone "transfer4" {
 };
 
 zone "large" {
-        type slave;
-        masters { 10.53.0.1; };
-        masterfile-format raw;
-        file "large.bk";
+       type slave;
+       masters { 10.53.0.1; };
+       masterfile-format raw;
+       file "large.bk";
 };
index 1362a12b55a098bcf51769018a3d35de79035934..c8b2e0cfa2f92702f4c211d7f139a0383fd7bfc7 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2005, 2007, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2005, 2007, 2011-2014  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
index 95c8f165e8d5e086f48b815ac5338445fbf4b159..22a701f928c1a56d7e48e383c934a7f752d6057b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2013  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2014  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 16de79fdb111f3f0d1133ffa342e85866b8970b3..5631ad640ee2c4614ab68ae889dcbcb401934e25 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011, 2012, 2014  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
index 7fccc879188952ab5a81a3d71b820c2d57b23963..18058803279f153f6b1f75c69f0dc367a1587411 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011-2014  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
index c83240cefb1feb21129f57b7ffa016db6254b5d7..69caac23fa74d4648c8f98dce3c84f2d957caa31 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2014  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any