Skip to content
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

Put the correct extended rcode in OPT #340

Merged
merged 1 commit into from
Apr 9, 2016
Merged

Put the correct extended rcode in OPT #340

merged 1 commit into from
Apr 9, 2016

Conversation

miekg
Copy link
Owner

@miekg miekg commented Apr 9, 2016

We were off by a value of 15. This fixes it. Hard to come up with a test
as writing and reading it yourself will be consistent.

@miekg
Copy link
Owner Author

miekg commented Apr 9, 2016

This fix is working for me when running CoreDNS and querying with kdig

We were off by a value of 15. This fixes it. Hard to come up with a test
as writing and reading it yourself will be consistent.
Don't allows extended rcodes smaller than 16. And fix the tests as well.
@miekg
Copy link
Owner Author

miekg commented Apr 9, 2016

Fixes #339

@miekg miekg merged commit b5f8285 into master Apr 9, 2016
@miekg miekg deleted the edns2-fix branch February 15, 2017 20:41
@tmthrgd tmthrgd mentioned this pull request Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant