BIND 10 trac3030, updated. 6cc73bde44fc16387788cf53906d1c9ecb4fd947 [3030] Removed #if 0s, that should not have been in there.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jul 3 20:15:02 UTC 2013
The branch, trac3030 has been updated
via 6cc73bde44fc16387788cf53906d1c9ecb4fd947 (commit)
from 2cf3214c48f9825347dad3b3bca6e6e6d8b8b6e2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6cc73bde44fc16387788cf53906d1c9ecb4fd947
Author: Thomas Markwalder <tmark at isc.org>
Date: Wed Jul 3 16:14:03 2013 -0400
[3030] Removed #if 0s, that should not have been in there.
-----------------------------------------------------------------------
Summary of changes:
src/bin/d2/ncr_msg.cc | 15 ---------------
1 file changed, 15 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/d2/ncr_msg.cc b/src/bin/d2/ncr_msg.cc
index f11614d..cec07e0 100644
--- a/src/bin/d2/ncr_msg.cc
+++ b/src/bin/d2/ncr_msg.cc
@@ -60,19 +60,11 @@ NameChangeRequest::NameChangeRequest(const NameChangeType change_type,
const bool forward_change, const bool reverse_change,
const std::string& fqdn, const std::string& ip_address,
const D2Dhcid& dhcid,
-#if 0
- const boost::posix_time::ptime& lease_expires_on,
-#else
const uint64_t lease_expires_on,
-#endif
const uint32_t lease_length)
: change_type_(change_type), forward_change_(forward_change),
reverse_change_(reverse_change), fqdn_(fqdn), ip_address_(ip_address),
-#if 0
- dhcid_(dhcid), lease_expires_on_(new ptime(lease_expires_on)),
-#else
dhcid_(dhcid), lease_expires_on_(lease_expires_on),
-#endif
lease_length_(lease_length), status_(ST_NEW) {
// Validate the contents. This will throw a NcrMessageError if anything
@@ -249,13 +241,6 @@ NameChangeRequest::validateContent() {
isc_throw(NcrMessageError, "DHCID cannot be blank");
}
-#if 0
- // Validate lease expiration.
- if (lease_expires_on_->is_not_a_date_time()) {
- isc_throw(NcrMessageError, "Invalid value for lease_expires_on");
- }
-#endif
-
// Ensure the request specifies at least one direction to update.
if (!forward_change_ && !reverse_change_) {
isc_throw(NcrMessageError,
More information about the bind10-changes
mailing list