Skip to content

Add support to the new WALLET RRType #15449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renatoalencar
Copy link

Short description

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behavior changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

I've replicated the same behavior as the TXT RR type since the RFC only defines this. Resolving this issue. Also, tried to keep it close to the BIND implementation which is also very close to its TXT implementation.

@@ -974,6 +976,8 @@ static void reportOtherTypes(const ReportIsOnlyCallableByReportAllTypes& guard)
L32RecordContent::report(guard);
L64RecordContent::report(guard);
LPRecordContent::report(guard);
DNSRecordContent::regist(QClass::ANY, QType::WALLET, &WALLETRecordContent::make, &WALLETRecordContent::make, "WALLET");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That regist call is probably not necessary as long as you keep the report call below.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 14528619324

Details

  • 2 of 5 (40.0%) changed or added relevant lines in 2 files are covered.
  • 11077 unchanged lines in 141 files lost coverage.
  • Overall coverage decreased (-6.8%) to 56.666%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pdns/dnsrecords.hh 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
ext/yahttp/yahttp/cookie.hpp 1 2.7%
ext/yahttp/yahttp/reqresp.cpp 1 47.34%
pdns/base64.cc 1 80.6%
pdns/libssl.cc 1 62.26%
pdns/recursordist/rec-rust-lib/rust/src/bridge.hh 1 0.0%
pdns/recursordist/sortlist.hh 1 75.0%
pdns/resolver.hh 1 0.0%
ext/probds/murmur3.cc 2 88.24%
pdns/dnsname.hh 2 90.63%
pdns/dnstap.cc 2 70.71%
Totals Coverage Status
Change from base Build 14517472431: -6.8%
Covered Lines: 100784
Relevant Lines: 141810

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants