Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
600
Issues
600
List
Boards
Labels
Service Desk
Milestones
Merge Requests
111
Merge Requests
111
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
a9fadafe
Commit
a9fadafe
authored
Feb 08, 2019
by
Mark Andrews
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix AMTRELAY name
parent
b61c254d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
96 additions
and
96 deletions
+96
-96
CHANGES
CHANGES
+1
-1
bin/tests/system/genzone.sh
bin/tests/system/genzone.sh
+6
-6
bin/tests/system/rrchecker/typelist.good
bin/tests/system/rrchecker/typelist.good
+1
-1
bin/tests/system/xfer/dig1.good
bin/tests/system/xfer/dig1.good
+6
-6
bin/tests/system/xfer/dig2.good
bin/tests/system/xfer/dig2.good
+6
-6
lib/dns/rdata/generic/amtrelay_260.c
lib/dns/rdata/generic/amtrelay_260.c
+65
-65
lib/dns/rdata/generic/amtrelay_260.h
lib/dns/rdata/generic/amtrelay_260.h
+5
-5
lib/dns/tests/rdata_test.c
lib/dns/tests/rdata_test.c
+4
-4
util/copyrights
util/copyrights
+2
-2
No files found.
CHANGES
View file @
a9fadafe
...
...
@@ -2,7 +2,7 @@
names specified on the command line without
trailing dots. [GL !1478]
5158. [protocol] Add support for A
TM
RELAY and ZONEMD. [GL #867]
5158. [protocol] Add support for A
MT
RELAY and ZONEMD. [GL #867]
5157. [bug] Nslookup now errors out if there are extra command
line arguments. [GL #207]
...
...
bin/tests/system/genzone.sh
View file @
a9fadafe
...
...
@@ -463,12 +463,12 @@ doa01 DOA ( 1234567890 1234567890 1 "image/gif"
doa02 DOA 0 1 2 "" aHR0cHM6Ly93d3cuaXNjLm9yZy8=
; type 260
a
tmrelay01 ATM
RELAY 0 0 0
a
tmrelay02 ATM
RELAY 0 1 0
a
tmrelay03 ATM
RELAY 0 0 1 0.0.0.0
a
tmrelay04 ATM
RELAY 0 0 2 ::
a
tmrelay05 ATM
RELAY 0 0 3 example.net.
a
tmrelay06 ATM
RELAY
\#
2 0004
a
mtrelay01 AMT
RELAY 0 0 0
a
mtrelay02 AMT
RELAY 0 1 0
a
mtrelay03 AMT
RELAY 0 0 1 0.0.0.0
a
mtrelay04 AMT
RELAY 0 0 2 ::
a
mtrelay05 AMT
RELAY 0 0 3 example.net.
a
mtrelay06 AMT
RELAY
\#
2 0004
; type 261 -- 32767 (unassigned)
...
...
bin/tests/system/rrchecker/typelist.good
View file @
a9fadafe
...
...
@@ -74,6 +74,6 @@ URI
CAA
AVC
DOA
A
TM
RELAY
A
MT
RELAY
TA
DLV
bin/tests/system/xfer/dig1.good
View file @
a9fadafe
...
...
@@ -11,18 +11,18 @@ aaaa01.example. 3600 IN AAAA ::1
aaaa02.example. 3600 IN AAAA fd92:7065:b8e:ffff::5
afsdb01.example. 3600 IN AFSDB 0 hostname.example.
afsdb02.example. 3600 IN AFSDB 65535 .
amtrelay01.example. 3600 IN AMTRELAY 0 0 0
amtrelay02.example. 3600 IN AMTRELAY 0 1 0
amtrelay03.example. 3600 IN AMTRELAY 0 0 1 0.0.0.0
amtrelay04.example. 3600 IN AMTRELAY 0 0 2 ::
amtrelay05.example. 3600 IN AMTRELAY 0 0 3 example.net.
amtrelay06.example. 3600 IN AMTRELAY \# 2 0004
apl01.example. 3600 IN APL !1:10.0.0.1/32 1:10.0.0.0/24
apl02.example. 3600 IN APL
atma01.example. 3600 IN ATMA +61200000000
atma02.example. 3600 IN ATMA +61200000000
atma03.example. 3600 IN ATMA 1234567890abcdef
atma04.example. 3600 IN ATMA fedcba0987654321
atmrelay01.example. 3600 IN ATMRELAY 0 0 0
atmrelay02.example. 3600 IN ATMRELAY 0 1 0
atmrelay03.example. 3600 IN ATMRELAY 0 0 1 0.0.0.0
atmrelay04.example. 3600 IN ATMRELAY 0 0 2 ::
atmrelay05.example. 3600 IN ATMRELAY 0 0 3 example.net.
atmrelay06.example. 3600 IN ATMRELAY \# 2 0004
avc.example. 3600 IN AVC "foo:bar"
caa01.example. 3600 IN CAA 0 issue "ca.example.net; policy=ev"
caa02.example. 3600 IN CAA 128 tbs "Unknown"
...
...
bin/tests/system/xfer/dig2.good
View file @
a9fadafe
...
...
@@ -11,18 +11,18 @@ aaaa01.example. 3600 IN AAAA ::1
aaaa02.example. 3600 IN AAAA fd92:7065:b8e:ffff::5
afsdb01.example. 3600 IN AFSDB 0 hostname.example.
afsdb02.example. 3600 IN AFSDB 65535 .
amtrelay01.example. 3600 IN AMTRELAY 0 0 0
amtrelay02.example. 3600 IN AMTRELAY 0 1 0
amtrelay03.example. 3600 IN AMTRELAY 0 0 1 0.0.0.1
amtrelay04.example. 3600 IN AMTRELAY 0 0 2 ::
amtrelay05.example. 3600 IN AMTRELAY 0 0 3 example.net.
amtrelay06.example. 3600 IN AMTRELAY \# 2 0004
apl01.example. 3600 IN APL !1:10.0.0.1/32 1:10.0.0.1/24
apl02.example. 3600 IN APL
atma01.example. 3600 IN ATMA +61200000000
atma02.example. 3600 IN ATMA +61200000000
atma03.example. 3600 IN ATMA 1234567890abcdef
atma04.example. 3600 IN ATMA fedcba0987654321
atmrelay01.example. 3600 IN ATMRELAY 0 0 0
atmrelay02.example. 3600 IN ATMRELAY 0 1 0
atmrelay03.example. 3600 IN ATMRELAY 0 0 1 0.0.0.1
atmrelay04.example. 3600 IN ATMRELAY 0 0 2 ::
atmrelay05.example. 3600 IN ATMRELAY 0 0 3 example.net.
atmrelay06.example. 3600 IN ATMRELAY \# 2 0004
avc.example. 3600 IN AVC "foo:bar"
caa01.example. 3600 IN CAA 0 issue "ca.example.net; policy=ev"
caa02.example. 3600 IN CAA 128 tbs "Unknown"
...
...
lib/dns/rdata/generic/a
tm
relay_260.c
→
lib/dns/rdata/generic/a
mt
relay_260.c
View file @
a9fadafe
...
...
@@ -10,17 +10,17 @@
*/
#ifndef RDATA_GENERIC_A
TM
RELAY_260_C
#define RDATA_GENERIC_A
TM
RELAY_260_C
#ifndef RDATA_GENERIC_A
MT
RELAY_260_C
#define RDATA_GENERIC_A
MT
RELAY_260_C
#include <string.h>
#include <isc/net.h>
#define RRTYPE_A
TM
RELAY_ATTRIBUTES (0)
#define RRTYPE_A
MT
RELAY_ATTRIBUTES (0)
static
inline
isc_result_t
fromtext_a
tm
relay
(
ARGS_FROMTEXT
)
{
fromtext_a
mt
relay
(
ARGS_FROMTEXT
)
{
isc_token_t
token
;
dns_name_t
name
;
isc_buffer_t
buffer
;
...
...
@@ -30,7 +30,7 @@ fromtext_atmrelay(ARGS_FROMTEXT) {
unsigned
char
addr6
[
16
];
isc_region_t
region
;
REQUIRE
(
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
type
==
dns_rdatatype_a
mt
relay
);
UNUSED
(
type
);
UNUSED
(
rdclass
);
...
...
@@ -120,7 +120,7 @@ fromtext_atmrelay(ARGS_FROMTEXT) {
}
static
inline
isc_result_t
totext_a
tm
relay
(
ARGS_TOTEXT
)
{
totext_a
mt
relay
(
ARGS_TOTEXT
)
{
isc_region_t
region
;
dns_name_t
name
;
char
buf
[
sizeof
(
"0 255 "
)];
...
...
@@ -131,7 +131,7 @@ totext_atmrelay(ARGS_TOTEXT) {
UNUSED
(
tctx
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
rdata
->
length
>=
2
);
if
((
rdata
->
data
[
1
]
&
0x7f
)
>
3U
)
...
...
@@ -182,11 +182,11 @@ totext_atmrelay(ARGS_TOTEXT) {
}
static
inline
isc_result_t
fromwire_a
tm
relay
(
ARGS_FROMWIRE
)
{
fromwire_a
mt
relay
(
ARGS_FROMWIRE
)
{
dns_name_t
name
;
isc_region_t
region
;
REQUIRE
(
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
type
==
dns_rdatatype_a
mt
relay
);
UNUSED
(
type
);
UNUSED
(
rdclass
);
...
...
@@ -233,10 +233,10 @@ fromwire_atmrelay(ARGS_FROMWIRE) {
}
static
inline
isc_result_t
towire_a
tm
relay
(
ARGS_TOWIRE
)
{
towire_a
mt
relay
(
ARGS_TOWIRE
)
{
isc_region_t
region
;
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
rdata
->
length
!=
0
);
UNUSED
(
cctx
);
...
...
@@ -246,13 +246,13 @@ towire_atmrelay(ARGS_TOWIRE) {
}
static
inline
int
compare_a
tm
relay
(
ARGS_COMPARE
)
{
compare_a
mt
relay
(
ARGS_COMPARE
)
{
isc_region_t
region1
;
isc_region_t
region2
;
REQUIRE
(
rdata1
->
type
==
rdata2
->
type
);
REQUIRE
(
rdata1
->
rdclass
==
rdata2
->
rdclass
);
REQUIRE
(
rdata1
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata1
->
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
rdata1
->
length
>=
2
);
REQUIRE
(
rdata2
->
length
>=
2
);
...
...
@@ -263,132 +263,132 @@ compare_atmrelay(ARGS_COMPARE) {
}
static
inline
isc_result_t
fromstruct_a
tm
relay
(
ARGS_FROMSTRUCT
)
{
dns_rdata_a
tmrelay_t
*
atm
relay
=
source
;
fromstruct_a
mt
relay
(
ARGS_FROMSTRUCT
)
{
dns_rdata_a
mtrelay_t
*
amt
relay
=
source
;
isc_region_t
region
;
uint32_t
n
;
REQUIRE
(
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
source
!=
NULL
);
REQUIRE
(
a
tm
relay
->
common
.
rdtype
==
type
);
REQUIRE
(
a
tm
relay
->
common
.
rdclass
==
rdclass
);
REQUIRE
(
a
mt
relay
->
common
.
rdtype
==
type
);
REQUIRE
(
a
mt
relay
->
common
.
rdclass
==
rdclass
);
UNUSED
(
type
);
UNUSED
(
rdclass
);
RETERR
(
uint8_tobuffer
(
a
tm
relay
->
precedence
,
target
));
n
=
(
a
tmrelay
->
discovery
?
0x80
:
0
)
|
atm
relay
->
gateway_type
;
RETERR
(
uint8_tobuffer
(
a
mt
relay
->
precedence
,
target
));
n
=
(
a
mtrelay
->
discovery
?
0x80
:
0
)
|
amt
relay
->
gateway_type
;
RETERR
(
uint8_tobuffer
(
n
,
target
));
switch
(
a
tm
relay
->
gateway_type
)
{
switch
(
a
mt
relay
->
gateway_type
)
{
case
0
:
return
(
ISC_R_SUCCESS
);
case
1
:
n
=
ntohl
(
a
tm
relay
->
in_addr
.
s_addr
);
n
=
ntohl
(
a
mt
relay
->
in_addr
.
s_addr
);
return
(
uint32_tobuffer
(
n
,
target
));
case
2
:
return
(
mem_tobuffer
(
target
,
a
tm
relay
->
in6_addr
.
s6_addr
,
16
));
return
(
mem_tobuffer
(
target
,
a
mt
relay
->
in6_addr
.
s6_addr
,
16
));
break
;
case
3
:
dns_name_toregion
(
&
a
tm
relay
->
gateway
,
&
region
);
dns_name_toregion
(
&
a
mt
relay
->
gateway
,
&
region
);
return
(
isc_buffer_copyregion
(
target
,
&
region
));
break
;
default:
return
(
mem_tobuffer
(
target
,
a
tmrelay
->
data
,
atm
relay
->
length
));
return
(
mem_tobuffer
(
target
,
a
mtrelay
->
data
,
amt
relay
->
length
));
}
}
static
inline
isc_result_t
tostruct_a
tm
relay
(
ARGS_TOSTRUCT
)
{
tostruct_a
mt
relay
(
ARGS_TOSTRUCT
)
{
isc_region_t
region
;
dns_rdata_a
tmrelay_t
*
atm
relay
=
target
;
dns_rdata_a
mtrelay_t
*
amt
relay
=
target
;
dns_name_t
name
;
uint32_t
n
;
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
target
!=
NULL
);
REQUIRE
(
rdata
->
length
>=
2
);
a
tm
relay
->
common
.
rdclass
=
rdata
->
rdclass
;
a
tm
relay
->
common
.
rdtype
=
rdata
->
type
;
ISC_LINK_INIT
(
&
a
tm
relay
->
common
,
link
);
a
mt
relay
->
common
.
rdclass
=
rdata
->
rdclass
;
a
mt
relay
->
common
.
rdtype
=
rdata
->
type
;
ISC_LINK_INIT
(
&
a
mt
relay
->
common
,
link
);
dns_name_init
(
&
a
tm
relay
->
gateway
,
NULL
);
a
tm
relay
->
data
=
NULL
;
dns_name_init
(
&
a
mt
relay
->
gateway
,
NULL
);
a
mt
relay
->
data
=
NULL
;
dns_name_init
(
&
name
,
NULL
);
dns_rdata_toregion
(
rdata
,
&
region
);
a
tm
relay
->
precedence
=
uint8_fromregion
(
&
region
);
a
mt
relay
->
precedence
=
uint8_fromregion
(
&
region
);
isc_region_consume
(
&
region
,
1
);
a
tm
relay
->
gateway_type
=
uint8_fromregion
(
&
region
);
a
tmrelay
->
discovery
=
(
atm
relay
->
gateway_type
&
0x80
)
!=
0
;
a
tm
relay
->
gateway_type
&=
0x7f
;
a
mt
relay
->
gateway_type
=
uint8_fromregion
(
&
region
);
a
mtrelay
->
discovery
=
(
amt
relay
->
gateway_type
&
0x80
)
!=
0
;
a
mt
relay
->
gateway_type
&=
0x7f
;
isc_region_consume
(
&
region
,
1
);
switch
(
a
tm
relay
->
gateway_type
)
{
switch
(
a
mt
relay
->
gateway_type
)
{
case
0
:
break
;
case
1
:
n
=
uint32_fromregion
(
&
region
);
a
tm
relay
->
in_addr
.
s_addr
=
htonl
(
n
);
a
mt
relay
->
in_addr
.
s_addr
=
htonl
(
n
);
isc_region_consume
(
&
region
,
4
);
break
;
case
2
:
memmove
(
a
tm
relay
->
in6_addr
.
s6_addr
,
region
.
base
,
16
);
memmove
(
a
mt
relay
->
in6_addr
.
s6_addr
,
region
.
base
,
16
);
isc_region_consume
(
&
region
,
16
);
break
;
case
3
:
dns_name_fromregion
(
&
name
,
&
region
);
RETERR
(
name_duporclone
(
&
name
,
mctx
,
&
a
tm
relay
->
gateway
));
RETERR
(
name_duporclone
(
&
name
,
mctx
,
&
a
mt
relay
->
gateway
));
isc_region_consume
(
&
region
,
name_length
(
&
name
));
break
;
default:
if
(
region
.
length
!=
0
)
{
a
tm
relay
->
data
=
mem_maybedup
(
mctx
,
region
.
base
,
a
mt
relay
->
data
=
mem_maybedup
(
mctx
,
region
.
base
,
region
.
length
);
if
(
a
tm
relay
->
data
==
NULL
)
{
if
(
a
mt
relay
->
data
==
NULL
)
{
return
(
ISC_R_NOMEMORY
);
}
}
a
tm
relay
->
length
=
region
.
length
;
a
mt
relay
->
length
=
region
.
length
;
}
a
tm
relay
->
mctx
=
mctx
;
a
mt
relay
->
mctx
=
mctx
;
return
(
ISC_R_SUCCESS
);
}
static
inline
void
freestruct_a
tm
relay
(
ARGS_FREESTRUCT
)
{
dns_rdata_a
tmrelay_t
*
atm
relay
=
source
;
freestruct_a
mt
relay
(
ARGS_FREESTRUCT
)
{
dns_rdata_a
mtrelay_t
*
amt
relay
=
source
;
REQUIRE
(
source
!=
NULL
);
REQUIRE
(
a
tmrelay
->
common
.
rdtype
==
dns_rdatatype_atm
relay
);
REQUIRE
(
a
mtrelay
->
common
.
rdtype
==
dns_rdatatype_amt
relay
);
if
(
a
tm
relay
->
mctx
==
NULL
)
if
(
a
mt
relay
->
mctx
==
NULL
)
return
;
if
(
a
tm
relay
->
gateway_type
==
3
)
dns_name_free
(
&
a
tmrelay
->
gateway
,
atm
relay
->
mctx
);
if
(
a
mt
relay
->
gateway_type
==
3
)
dns_name_free
(
&
a
mtrelay
->
gateway
,
amt
relay
->
mctx
);
if
(
a
tm
relay
->
data
!=
NULL
)
isc_mem_free
(
a
tmrelay
->
mctx
,
atm
relay
->
data
);
if
(
a
mt
relay
->
data
!=
NULL
)
isc_mem_free
(
a
mtrelay
->
mctx
,
amt
relay
->
data
);
a
tm
relay
->
mctx
=
NULL
;
a
mt
relay
->
mctx
=
NULL
;
}
static
inline
isc_result_t
additionaldata_a
tm
relay
(
ARGS_ADDLDATA
)
{
additionaldata_a
mt
relay
(
ARGS_ADDLDATA
)
{
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
UNUSED
(
rdata
);
UNUSED
(
add
);
...
...
@@ -398,19 +398,19 @@ additionaldata_atmrelay(ARGS_ADDLDATA) {
}
static
inline
isc_result_t
digest_a
tm
relay
(
ARGS_DIGEST
)
{
digest_a
mt
relay
(
ARGS_DIGEST
)
{
isc_region_t
region
;
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
dns_rdata_toregion
(
rdata
,
&
region
);
return
((
digest
)(
arg
,
&
region
));
}
static
inline
bool
checkowner_a
tm
relay
(
ARGS_CHECKOWNER
)
{
checkowner_a
mt
relay
(
ARGS_CHECKOWNER
)
{
REQUIRE
(
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
type
==
dns_rdatatype_a
mt
relay
);
UNUSED
(
name
);
UNUSED
(
type
);
...
...
@@ -421,9 +421,9 @@ checkowner_atmrelay(ARGS_CHECKOWNER) {
}
static
inline
bool
checknames_a
tm
relay
(
ARGS_CHECKNAMES
)
{
checknames_a
mt
relay
(
ARGS_CHECKNAMES
)
{
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata
->
type
==
dns_rdatatype_a
mt
relay
);
UNUSED
(
rdata
);
UNUSED
(
owner
);
...
...
@@ -433,7 +433,7 @@ checknames_atmrelay(ARGS_CHECKNAMES) {
}
static
inline
int
casecompare_a
tm
relay
(
ARGS_COMPARE
)
{
casecompare_a
mt
relay
(
ARGS_COMPARE
)
{
isc_region_t
region1
;
isc_region_t
region2
;
dns_name_t
name1
;
...
...
@@ -441,7 +441,7 @@ casecompare_atmrelay(ARGS_COMPARE) {
REQUIRE
(
rdata1
->
type
==
rdata2
->
type
);
REQUIRE
(
rdata1
->
rdclass
==
rdata2
->
rdclass
);
REQUIRE
(
rdata1
->
type
==
dns_rdatatype_a
tm
relay
);
REQUIRE
(
rdata1
->
type
==
dns_rdatatype_a
mt
relay
);
REQUIRE
(
rdata1
->
length
>=
2
);
REQUIRE
(
rdata2
->
length
>=
2
);
...
...
@@ -464,4 +464,4 @@ casecompare_atmrelay(ARGS_COMPARE) {
return
(
dns_name_rdatacompare
(
&
name1
,
&
name2
));
}
#endif
/* RDATA_GENERIC_A
TM
RELAY_260_C */
#endif
/* RDATA_GENERIC_A
MT
RELAY_260_C */
lib/dns/rdata/generic/a
tm
relay_260.h
→
lib/dns/rdata/generic/a
mt
relay_260.h
View file @
a9fadafe
...
...
@@ -10,10 +10,10 @@
*/
#ifndef GENERIC_A
TM
RELAY_260_H
#define GENERIC_A
TM
RELAY_260_H 1
#ifndef GENERIC_A
MT
RELAY_260_H
#define GENERIC_A
MT
RELAY_260_H 1
typedef
struct
dns_rdata_a
tm
relay
{
typedef
struct
dns_rdata_a
mt
relay
{
dns_rdatacommon_t
common
;
isc_mem_t
*
mctx
;
uint8_t
precedence
;
...
...
@@ -24,6 +24,6 @@ typedef struct dns_rdata_atmrelay {
dns_name_t
gateway
;
/* gateway type 3 */
unsigned
char
*
data
;
/* gateway type > 3 */
uint16_t
length
;
}
dns_rdata_a
tm
relay_t
;
}
dns_rdata_a
mt
relay_t
;
#endif
/* GENERIC_A
TM
RELAY_260_H */
#endif
/* GENERIC_A
MT
RELAY_260_H */
lib/dns/tests/rdata_test.c
View file @
a9fadafe
...
...
@@ -563,9 +563,9 @@ atma(void **state) {
dns_rdatatype_atma
,
sizeof
(
dns_rdata_in_atma_t
));
}
/* A
TM
RELAY RDATA manipulations */
/* A
MT
RELAY RDATA manipulations */
static
void
a
tm
relay
(
void
**
state
)
{
a
mt
relay
(
void
**
state
)
{
text_ok_t
text_ok
[]
=
{
TEXT_INVALID
(
""
),
TEXT_INVALID
(
"0"
),
...
...
@@ -653,7 +653,7 @@ atmrelay(void **state) {
UNUSED
(
state
);
check_rdata
(
text_ok
,
wire_ok
,
NULL
,
false
,
dns_rdataclass_in
,
dns_rdatatype_a
tmrelay
,
sizeof
(
dns_rdata_atm
relay_t
));
dns_rdatatype_a
mtrelay
,
sizeof
(
dns_rdata_amt
relay_t
));
}
/*
...
...
@@ -1807,9 +1807,9 @@ iszonecutauth(void **state) {
int
main
(
void
)
{
const
struct
CMUnitTest
tests
[]
=
{
cmocka_unit_test_setup_teardown
(
amtrelay
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
apl
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
atma
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
atmrelay
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
csync
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
doa
,
_setup
,
_teardown
),
cmocka_unit_test_setup_teardown
(
eid
,
_setup
,
_teardown
),
...
...
util/copyrights
View file @
a9fadafe
...
...
@@ -1822,8 +1822,8 @@
./lib/dns/rdata/ch_3/a_1.h C 2005,2007,2016,2018,2019
./lib/dns/rdata/generic/afsdb_18.c C 1999,2000,2001,2003,2004,2005,2007,2009,2014,2015,2016,2017,2018,2019
./lib/dns/rdata/generic/afsdb_18.h C 1999,2000,2001,2004,2005,2007,2016,2018,2019
./lib/dns/rdata/generic/a
tm
relay_260.c C 2019
./lib/dns/rdata/generic/a
tm
relay_260.h C 2019
./lib/dns/rdata/generic/a
mt
relay_260.c C 2019
./lib/dns/rdata/generic/a
mt
relay_260.h C 2019
./lib/dns/rdata/generic/avc_258.c C 2016,2018,2019
./lib/dns/rdata/generic/avc_258.h C 2016,2018,2019
./lib/dns/rdata/generic/caa_257.c C 2014,2015,2016,2017,2018,2019
...
...
Mark Andrews
@marka
mentioned in commit
547bf4ef
·
Feb 08, 2019
mentioned in commit
547bf4ef
mentioned in commit 547bf4efd23f27a867d4d2acc6063ba97cb9ca9d
Toggle commit list
Mark Andrews
@marka
mentioned in commit
495d4153
·
Feb 08, 2019
mentioned in commit
495d4153
mentioned in commit 495d4153ade4b15e61ff7113e8a12d1cf92a54fe
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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