|
@@ -20,6 +20,7 @@
|
|
#include <dns/messagerenderer.h>
|
|
#include <dns/messagerenderer.h>
|
|
#include <dns/rdata.h>
|
|
#include <dns/rdata.h>
|
|
#include <dns/rdataclass.h>
|
|
#include <dns/rdataclass.h>
|
|
|
|
+#include <dns/rdata/generic/detail/lexer_util.h>
|
|
|
|
|
|
using namespace std;
|
|
using namespace std;
|
|
using namespace isc::util;
|
|
using namespace isc::util;
|
|
@@ -31,6 +32,12 @@ OPT::OPT(const std::string&) {
|
|
isc_throw(InvalidRdataText, "OPT RR cannot be constructed from text");
|
|
isc_throw(InvalidRdataText, "OPT RR cannot be constructed from text");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+OPT::OPT(MasterLexer&, const Name*,
|
|
|
|
+ MasterLoader::Options, MasterLoaderCallbacks&)
|
|
|
|
+{
|
|
|
|
+ isc_throw(InvalidRdataText, "OPT RR cannot be constructed from text");
|
|
|
|
+}
|
|
|
|
+
|
|
OPT::OPT(InputBuffer& buffer, size_t rdata_len) {
|
|
OPT::OPT(InputBuffer& buffer, size_t rdata_len) {
|
|
// setPosition() will throw against a short buffer anyway, but it's safer
|
|
// setPosition() will throw against a short buffer anyway, but it's safer
|
|
// to check it explicitly here.
|
|
// to check it explicitly here.
|