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
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
105
Merge Requests
105
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
0aa9c410
Commit
0aa9c410
authored
May 23, 2018
by
Mukund Sivaraman
Committed by
Mark Andrews
Jun 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't insert 2nd space between NSEC3 nexthash and typemap fields
(cherry picked from commit
d4ea1edd
)
parent
46e69a4d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
7 deletions
+19
-7
bin/tests/system/xfer/dig1.good
bin/tests/system/xfer/dig1.good
+2
-2
bin/tests/system/xfer/dig2.good
bin/tests/system/xfer/dig2.good
+2
-2
lib/dns/rdata.c
lib/dns/rdata.c
+1
-1
lib/dns/rdata/generic/csync_62.c
lib/dns/rdata/generic/csync_62.c
+6
-0
lib/dns/rdata/generic/nsec3_50.c
lib/dns/rdata/generic/nsec3_50.c
+2
-2
lib/dns/rdata/generic/nsec_47.c
lib/dns/rdata/generic/nsec_47.c
+6
-0
No files found.
bin/tests/system/xfer/dig1.good
View file @
0aa9c410
...
...
@@ -149,7 +149,7 @@ wks01.example. 3600 IN WKS 10.0.0.1 6 0 1 2 21 23
wks02.example. 3600 IN WKS 10.0.0.1 17 0 1 2 53
wks03.example. 3600 IN WKS 10.0.0.2 6 65535
x2501.example. 3600 IN X25 "123456789"
8f1tmio9avcom2k0frp92lgcumak0cad.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU
A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
8f1tmio9avcom2k0frp92lgcumak0cad.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
kcd3juae64f9c5csl1kif1htaui7un0g.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C KD5MN2M20340DGO0BL7NTSB8JP4BSC7E
mr5ukvsk1l37btu4q7b1dfevft4hkqdk.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05
A AAAA RRSIG
mr5ukvsk1l37btu4q7b1dfevft4hkqdk.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05 A AAAA RRSIG
example. 86400 IN SOA ns2.example. hostmaster.example. 1397051952 5 5 1814400 3600
bin/tests/system/xfer/dig2.good
View file @
0aa9c410
...
...
@@ -149,7 +149,7 @@ wks01.example. 3600 IN WKS 10.0.0.1 6 0 1 2 21 23
wks02.example. 3600 IN WKS 10.0.0.1 17 0 1 2 53
wks03.example. 3600 IN WKS 10.0.0.2 6 65535
x2501.example. 3600 IN X25 "123456789"
8f1tmio9avcom2k0frp92lgcumak0cad.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU
A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
8f1tmio9avcom2k0frp92lgcumak0cad.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C 8FPNS2UCT7FBS643THP2B77PEQ77K6IU A NS SOA MX AAAA RRSIG DNSKEY NSEC3PARAM
kcd3juae64f9c5csl1kif1htaui7un0g.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C KD5MN2M20340DGO0BL7NTSB8JP4BSC7E
mr5ukvsk1l37btu4q7b1dfevft4hkqdk.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05
A AAAA RRSIG
mr5ukvsk1l37btu4q7b1dfevft4hkqdk.example. 3600 IN NSEC3 1 0 10 D2CF0294C020CE6C MT38J6VG7S0SN5G17MCUF6IQIKFUAJ05 A AAAA RRSIG
example. 86400 IN SOA ns2.example. hostmaster.example. 1397051953 5 5 1814400 3600
lib/dns/rdata.c
View file @
0aa9c410
...
...
@@ -488,7 +488,7 @@ typemap_totext(isc_region_t *sr, dns_rdata_textctx_t *tctx,
{
unsigned
int
i
,
j
,
k
;
unsigned
int
window
,
len
;
isc_boolean_t
first
=
ISC_
FALS
E
;
isc_boolean_t
first
=
ISC_
TRU
E
;
for
(
i
=
0
;
i
<
sr
->
length
;
i
+=
len
)
{
if
(
tctx
!=
NULL
&&
...
...
lib/dns/rdata/generic/csync_62.c
View file @
0aa9c410
...
...
@@ -69,6 +69,12 @@ totext_csync(ARGS_TOTEXT) {
snprintf
(
buf
,
sizeof
(
buf
),
"%lu"
,
num
);
RETERR
(
str_totext
(
buf
,
target
));
/*
* Don't leave a trailing space when there's no typemap present.
*/
if
(
sr
.
length
>
0
)
{
RETERR
(
str_totext
(
" "
,
target
));
}
return
(
typemap_totext
(
&
sr
,
NULL
,
target
));
}
...
...
lib/dns/rdata/generic/nsec3_50.c
View file @
0aa9c410
...
...
@@ -162,9 +162,9 @@ totext_nsec3(ARGS_TOTEXT) {
/*
* Don't leave a trailing space when there's no typemap present.
*/
if
(((
tctx
->
flags
&
DNS_STYLEFLAG_MULTILINE
)
==
0
)
&&
(
sr
.
length
>
0
))
if
(((
tctx
->
flags
&
DNS_STYLEFLAG_MULTILINE
)
==
0
)
&&
(
sr
.
length
>
0
))
{
RETERR
(
str_totext
(
" "
,
target
));
}
RETERR
(
typemap_totext
(
&
sr
,
tctx
,
target
));
if
((
tctx
->
flags
&
DNS_STYLEFLAG_MULTILINE
)
!=
0
)
...
...
lib/dns/rdata/generic/nsec_47.c
View file @
0aa9c410
...
...
@@ -61,6 +61,12 @@ totext_nsec(ARGS_TOTEXT) {
dns_name_fromregion
(
&
name
,
&
sr
);
isc_region_consume
(
&
sr
,
name_length
(
&
name
));
RETERR
(
dns_name_totext
(
&
name
,
ISC_FALSE
,
target
));
/*
* Don't leave a trailing space when there's no typemap present.
*/
if
(
sr
.
length
>
0
)
{
RETERR
(
str_totext
(
" "
,
target
));
}
return
(
typemap_totext
(
&
sr
,
NULL
,
target
));
}
...
...
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