4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for

failures in sending the update message.  The correct
                        location to be reported is "update_completed".
                        [RT #46014]

(cherry picked from commit 0bcb8b0b7c)
This commit is contained in:
Mark Andrews 2017-09-18 14:28:39 +10:00
parent 40697a91e3
commit 9411ffc095
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for
failures in sending the update message. The correct
location to be reported is "update_completed".
[RT #46014]
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981]

View file

@ -2279,8 +2279,10 @@ update_completed(isc_task_t *task, isc_event_t *event) {
}
if (reqev->result != ISC_R_SUCCESS) {
if (!next_master("recvsoa", &master_servers[master_inuse],
reqev->result)) {
if (!next_master("update_completed",
&master_servers[master_inuse],
reqev->result))
{
seenerror = ISC_TRUE;
goto done;
}