Skip to content

Commit

Permalink
dnsqr: Do not check RD and RA bit in a response
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiyas committed Sep 17, 2017
1 parent 3fc9e35 commit 0fb5277
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dnsqr.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ func main() {
if r.Truncated {
fmt.Print(", truncated")
}
if r.RecursionDesired {
fmt.Print(", weird rd")
}
if r.RecursionAvailable {
fmt.Print(", weird ra")
}
// if r.RecursionDesired {
// fmt.Print(", weird rd")
// }
// if r.RecursionAvailable {
// fmt.Print(", weird ra")
// }
switch r.Rcode {
case dns.RcodeSuccess:
fmt.Print(", noerror")
Expand Down

0 comments on commit 0fb5277

Please sign in to comment.