mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#2131] Addressed comment
This commit is contained in:
@@ -175,12 +175,11 @@ NameAddTransaction::addingFwdAddrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildAddFwdAddressRequest();
|
buildAddFwdAddressRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -288,13 +287,12 @@ NameAddTransaction::replacingFwdAddrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case FQDN_IN_USE_EVT:
|
case FQDN_IN_USE_EVT:
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildReplaceFwdAddressRequest();
|
buildReplaceFwdAddressRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -438,12 +436,11 @@ NameAddTransaction::replacingRevPtrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildReplaceRevPtrsRequest();
|
buildReplaceRevPtrsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
|
@@ -179,12 +179,11 @@ NameRemoveTransaction::removingFwdAddrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildRemoveFwdAddressRequest();
|
buildRemoveFwdAddressRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -287,13 +286,12 @@ NameRemoveTransaction::removingFwdRRsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case UPDATE_OK_EVT:
|
case UPDATE_OK_EVT:
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildRemoveFwdRRsRequest();
|
buildRemoveFwdRRsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -445,12 +443,11 @@ NameRemoveTransaction::removingRevPtrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildRemoveRevPtrsRequest();
|
buildRemoveRevPtrsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
|
@@ -170,12 +170,11 @@ SimpleAddTransaction::replacingFwdAddrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildReplaceFwdAddressRequest();
|
buildReplaceFwdAddressRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -307,12 +306,11 @@ SimpleAddTransaction::replacingRevPtrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildReplaceRevPtrsRequest();
|
buildReplaceRevPtrsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
|
@@ -173,13 +173,12 @@ SimpleRemoveTransaction::removingFwdRRsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case UPDATE_OK_EVT:
|
case UPDATE_OK_EVT:
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildRemoveFwdRRsRequest();
|
buildRemoveFwdRRsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
@@ -320,12 +319,11 @@ SimpleRemoveTransaction::removingRevPtrsHandler() {
|
|||||||
// Clear the update attempts count on initial transition.
|
// Clear the update attempts count on initial transition.
|
||||||
clearUpdateAttempts();
|
clearUpdateAttempts();
|
||||||
}
|
}
|
||||||
// No reuse of the request on retries.
|
|
||||||
clearDnsUpdateRequest();
|
|
||||||
|
|
||||||
switch(getNextEvent()) {
|
switch(getNextEvent()) {
|
||||||
case SERVER_SELECTED_EVT:
|
case SERVER_SELECTED_EVT:
|
||||||
try {
|
try {
|
||||||
|
clearDnsUpdateRequest();
|
||||||
buildRemoveRevPtrsRequest();
|
buildRemoveRevPtrsRequest();
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
// While unlikely, the build might fail if we have invalid
|
// While unlikely, the build might fail if we have invalid
|
||||||
|
Reference in New Issue
Block a user