Commit 5374ac70 authored by Razvan Becheriu's avatar Razvan Becheriu
Browse files

formatting

parent a046475b
......@@ -410,6 +410,7 @@ public:
last_subnet->requireClientClass(require_item->stringValue());
}
}
// reservation_mode
if (!out_bindings[15]->amNull()) {
last_subnet->setHostReservationMode(static_cast<Subnet4::HRMode>
......@@ -845,7 +846,6 @@ public:
conn_.insertQuery(MySqlConfigBackendDHCPv4Impl::INSERT_SUBNET4_SERVER,
in_server_bindings);
} catch (const DuplicateEntry&) {
deletePools4(subnet);
deleteOptions4(server_selector, subnet);
......@@ -1053,6 +1053,7 @@ public:
if (!out_bindings[2]->amNull()) {
last_network->allowClientClass(out_bindings[2]->getString());
}
// interface
if (!out_bindings[3]->amNull()) {
last_network->setIface(out_bindings[3]->getString());
......
......@@ -960,7 +960,6 @@ public:
conn_.insertQuery(MySqlConfigBackendDHCPv6Impl::INSERT_SUBNET6_SERVER,
in_server_bindings);
} catch (const DuplicateEntry&) {
deletePools6(subnet);
deletePdPools6(subnet);
......@@ -1559,8 +1558,8 @@ public:
MySqlTransaction transaction(conn_);
OptionDescriptorPtr existing_option =
getOption(GET_OPTION6_CODE_SPACE, Option::V6, server_selector,
option->option_->getType(), option->space_name_);
getOption(GET_OPTION6_CODE_SPACE, Option::V6, server_selector,
option->option_->getType(), option->space_name_);
// Create scoped audit revision. As long as this instance exists
// no new audit revisions are created in any subsequent calls.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment