From: W.C.A. Wijngaards Date: Fri, 16 Jul 2021 15:12:41 +0000 (+0200) Subject: - Insert header into testcode/readzone.c, it was missing. X-Git-Tag: release-1.13.2rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f57dbf19bbd71826ed1de37532754a4e4257fe1;p=thirdparty%2Funbound.git - Insert header into testcode/readzone.c, it was missing. --- diff --git a/doc/Changelog b/doc/Changelog index 68926abfa..993191b4c 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -10,6 +10,7 @@ - Fix unbound-control local_data and local_datas to print detailed syntax errors. - review fix to remove duplicate error printout. + - Insert header into testcode/readzone.c, it was missing. 6 July 2021: Wouter - iana portlist update. diff --git a/testcode/readzone.c b/testcode/readzone.c index 8edc683ee..f0351fc56 100644 --- a/testcode/readzone.c +++ b/testcode/readzone.c @@ -1,3 +1,43 @@ +/* + * testcode/readzone.c - readzone tool reads zonefiles + * + * Copyright (c) 2021, NLnet Labs. All rights reserved. + * + * This software is open source. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * Neither the name of the NLNET LABS nor the names of its contributors may + * be used to endorse or promote products derived from this software without + * specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ +/** + * \file + * Command to read and echo a zonefile. + */ + #include "config.h" #include #include