BIND 10 trac2637, updated. ea6e8ea2e28a3c7b22ca2390f3509d791522959b [2637] Enable setting FQDN for options.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jan 18 16:43:37 UTC 2013
The branch, trac2637 has been updated
via ea6e8ea2e28a3c7b22ca2390f3509d791522959b (commit)
from c80274000aed9ab258b3e0b46ddb2c3212a7b877 (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 ea6e8ea2e28a3c7b22ca2390f3509d791522959b
Author: Marcin Siodelski <marcin at isc.org>
Date: Fri Jan 18 17:43:27 2013 +0100
[2637] Enable setting FQDN for options.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/option_definition.cc | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/option_definition.cc b/src/lib/dhcp/option_definition.cc
index d2b5aae..5648efd 100644
--- a/src/lib/dhcp/option_definition.cc
+++ b/src/lib/dhcp/option_definition.cc
@@ -411,14 +411,8 @@ OptionDefinition::writeToBuffer(const std::string& value,
OptionDataTypeUtil::writeString(value, buf);
return;
case OPT_FQDN_TYPE:
- {
- // FQDN implementation is not terribly complicated but will require
- // creation of some additional logic (maybe object) that will parse
- // the fqdn into labels.
- isc_throw(isc::NotImplemented, "write of FQDN record into option buffer"
- " is not supported yet");
- return;
- }
+ OptionDataTypeUtil::writeFqdn(value, buf);
+ return;
default:
// We hit this point because invalid option data type has been specified
// This may be the case because 'empty' or 'record' data type has been
More information about the bind10-changes
mailing list