diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2015-10-01 07:47:44 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2015-10-01 07:47:44 +0000 |
commit | ff14d03521a89636be959e65a21374951fe699ba (patch) | |
tree | f50c4271d12b6939db067758ade30df93a038a91 /lib/export/samples | |
parent | b04f5d3d3ff49c604e768add0cf35600b9eee074 (diff) |
Notes
Diffstat (limited to 'lib/export/samples')
-rw-r--r-- | lib/export/samples/nsprobe.c | 1 | ||||
-rw-r--r-- | lib/export/samples/sample-async.c | 3 | ||||
-rw-r--r-- | lib/export/samples/sample-gai.c | 4 | ||||
-rw-r--r-- | lib/export/samples/sample-request.c | 3 | ||||
-rw-r--r-- | lib/export/samples/sample-update.c | 6 | ||||
-rw-r--r-- | lib/export/samples/sample.c | 3 |
6 files changed, 12 insertions, 8 deletions
diff --git a/lib/export/samples/nsprobe.c b/lib/export/samples/nsprobe.c index c29c9a679c71..9c2f6af28dcb 100644 --- a/lib/export/samples/nsprobe.c +++ b/lib/export/samples/nsprobe.c @@ -31,6 +31,7 @@ #include <isc/buffer.h> #include <isc/lib.h> #include <isc/mem.h> +#include <isc/print.h> #include <isc/socket.h> #include <isc/sockaddr.h> #include <isc/string.h> diff --git a/lib/export/samples/sample-async.c b/lib/export/samples/sample-async.c index a70dd4741ede..05fd30d1db78 100644 --- a/lib/export/samples/sample-async.c +++ b/lib/export/samples/sample-async.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009, 2013 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2009, 2013, 2015 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 @@ -34,6 +34,7 @@ #include <isc/buffer.h> #include <isc/lib.h> #include <isc/mem.h> +#include <isc/print.h> #include <isc/socket.h> #include <isc/sockaddr.h> #include <isc/task.h> diff --git a/lib/export/samples/sample-gai.c b/lib/export/samples/sample-gai.c index 243d07a2f971..b214d0858170 100644 --- a/lib/export/samples/sample-gai.c +++ b/lib/export/samples/sample-gai.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2009, 2012, 2013, 2015 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 @@ -27,6 +27,8 @@ #include <string.h> #include <stdio.h> +#include <isc/print.h> + static void do_gai(int family, char *hostname) { struct addrinfo hints, *res, *res0; diff --git a/lib/export/samples/sample-request.c b/lib/export/samples/sample-request.c index e39c21e8e647..0f37edded79d 100644 --- a/lib/export/samples/sample-request.c +++ b/lib/export/samples/sample-request.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009, 2012-2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2009, 2012-2015 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 @@ -35,6 +35,7 @@ #include <isc/buffer.h> #include <isc/lib.h> #include <isc/mem.h> +#include <isc/print.h> #include <isc/sockaddr.h> #include <isc/util.h> diff --git a/lib/export/samples/sample-update.c b/lib/export/samples/sample-update.c index acab0059067a..887337db2ef4 100644 --- a/lib/export/samples/sample-update.c +++ b/lib/export/samples/sample-update.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009, 2010, 2012-2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2009, 2010, 2012-2015 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 @@ -37,6 +37,7 @@ #include <isc/lib.h> #include <isc/mem.h> #include <isc/parseint.h> +#include <isc/print.h> #include <isc/sockaddr.h> #include <isc/string.h> #include <isc/util.h> @@ -681,11 +682,8 @@ make_prereq(isc_mem_t *mctx, char *cmdline, isc_boolean_t ispositive, rdatalist->rdclass = dns_rdataclass_any; } else rdatalist->rdclass = dns_rdataclass_none; - rdatalist->covers = 0; - rdatalist->ttl = 0; rdata->rdclass = rdatalist->rdclass; rdata->type = rdatatype; - ISC_LIST_INIT(rdatalist->rdata); ISC_LIST_APPEND(rdatalist->rdata, rdata, link); ISC_LIST_APPEND(usedrdatalists, rdatalist, link); diff --git a/lib/export/samples/sample.c b/lib/export/samples/sample.c index 7de9a8f1e9da..3062d8bef62f 100644 --- a/lib/export/samples/sample.c +++ b/lib/export/samples/sample.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009, 2012-2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2009, 2012-2015 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 @@ -35,6 +35,7 @@ #include <isc/buffer.h> #include <isc/lib.h> #include <isc/mem.h> +#include <isc/print.h> #include <isc/sockaddr.h> #include <isc/util.h> |