Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
0d5b7ed7
Commit
0d5b7ed7
authored
Aug 25, 2015
by
Tinderbox User
Browse files
update copyright notice / whitespace
parent
c19bf218
Changes
4
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/checkzone/zones/bad-dns-sd-reverse.db
View file @
0d5b7ed7
; Copyright (C) 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
; 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.
$TTL 60
@ IN SOA . . 0 0 0 0 0
@ IN NS .
...
...
bin/tests/system/checkzone/zones/good-dns-sd-reverse.db
View file @
0d5b7ed7
; Copyright (C) 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
; 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.
$TTL 60
@ IN SOA . . 0 0 0 0 0
@ IN NS .
...
...
bin/tests/system/rrsetorder/ns4/named.conf
View file @
0d5b7ed7
/*
*
Copyright
(
C
)
20
06
,
2007
Internet
Systems
Consortium
,
Inc
. (
"ISC"
)
*
Copyright
(
C
)
20
15
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
...
...
lib/dns/order.c
View file @
0d5b7ed7
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007
, 2015
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -48,7 +48,7 @@ struct dns_order {
ISC_LIST
(
dns_order_ent_t
)
ents
;
isc_mem_t
*
mctx
;
};
#define DNS_ORDER_MAGIC ISC_MAGIC('O','r','d','r')
#define DNS_ORDER_VALID(order) ISC_MAGIC_VALID(order, DNS_ORDER_MAGIC)
...
...
@@ -62,7 +62,7 @@ dns_order_create(isc_mem_t *mctx, dns_order_t **orderp) {
order
=
isc_mem_get
(
mctx
,
sizeof
(
*
order
));
if
(
order
==
NULL
)
return
(
ISC_R_NOMEMORY
);
ISC_LIST_INIT
(
order
->
ents
);
/* Implicit attach. */
...
...
@@ -88,7 +88,7 @@ dns_order_add(dns_order_t *order, dns_name_t *name,
REQUIRE
(
DNS_ORDER_VALID
(
order
));
REQUIRE
(
mode
==
DNS_RDATASETATTR_RANDOMIZE
||
mode
==
DNS_RDATASETATTR_FIXEDORDER
||
mode
==
DNS_RDATASETATTR_FIXEDORDER
||
mode
==
0
/* DNS_RDATASETATTR_CYCLIC */
);
ent
=
isc_mem_get
(
order
->
mctx
,
sizeof
(
*
ent
));
...
...
@@ -108,7 +108,7 @@ dns_order_add(dns_order_t *order, dns_name_t *name,
static
inline
isc_boolean_t
match
(
dns_name_t
*
name1
,
dns_name_t
*
name2
)
{
if
(
dns_name_iswildcard
(
name2
))
return
(
dns_name_matcheswildcard
(
name1
,
name2
));
return
(
dns_name_equal
(
name1
,
name2
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment