Commit 3e235c59 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

cleanup: construct RRType from integer when possible.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 133f25c3
......@@ -100,7 +100,7 @@ const uint8_t wiredata_unknown[] = { 0xa1, 0xb2, 0xc3, 0x0d };
// "Unknown" RR Type used for the test cases below. If/when we use this
// type number as a "well-known" (probably experimental) type, we'll need to
// renumber it.
const RRType unknown_rrtype = RRType("TYPE65000");
const RRType unknown_rrtype = RRType(65000);
TEST_F(Rdata_Unknown_Test, createFromText)
Supports Markdown
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