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
5efa612b
Commit
5efa612b
authored
May 12, 2004
by
Mark Andrews
Browse files
1632. [bug] nsupdate failed to send prerequisite only UPDATE
messages. [RT #11288]
parent
74def1c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
5efa612b
1633. [placeholder] rt11331
1632. [placeholder] rt11288
1632. [bug] nsupdate failed to send prerequisite only UPDATE
messages. [RT #11288]
1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
...
...
bin/nsupdate/nsupdate.c
View file @
5efa612b
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.13
1
2004/0
4
/1
0
04:
03:16
marka Exp $ */
/* $Id: nsupdate.c,v 1.13
2
2004/0
5
/1
2
04:
48:23
marka Exp $ */
#include
<config.h>
...
...
@@ -1847,12 +1847,17 @@ start_update(void) {
dns_request_t
*
request
=
NULL
;
dns_message_t
*
soaquery
=
NULL
;
dns_name_t
*
firstname
;
dns_section_t
section
=
DNS_SECTION_UPDATE
;
ddebug
(
"start_update()"
);
if
(
answer
!=
NULL
)
dns_message_destroy
(
&
answer
);
result
=
dns_message_firstname
(
updatemsg
,
DNS_SECTION_UPDATE
);
result
=
dns_message_firstname
(
updatemsg
,
section
);
if
(
result
==
ISC_R_NOMORE
)
{
section
=
DNS_SECTION_PREREQUISITE
;
result
=
dns_message_firstname
(
updatemsg
,
section
);
}
if
(
result
!=
ISC_R_SUCCESS
)
{
done_update
();
return
;
...
...
@@ -1879,7 +1884,7 @@ start_update(void) {
dns_rdataset_makequestion
(
rdataset
,
getzoneclass
(),
dns_rdatatype_soa
);
firstname
=
NULL
;
dns_message_currentname
(
updatemsg
,
DNS_SECTION_UPDATE
,
&
firstname
);
dns_message_currentname
(
updatemsg
,
section
,
&
firstname
);
dns_name_init
(
name
,
NULL
);
dns_name_clone
(
firstname
,
name
);
...
...
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