Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
workaround for issue #26
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Mar 7, 2021
1 parent 1164d42 commit 279eb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnstap_receiver/inputs/dnstap_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def cb_ondnstap(dnstap_decoder, payload, cfg, queues_list, stats, geoip_re
# common params
if dns_qdcount:
qname, qtype = dns_parser.decode_question(dns_payload)
tap["qname"] = qname.decode()
tap["qname"] = qname.decode(errors="ignore")
tap["rrtype"] = dns_rdatatypes.RDATATYPES[qtype]

tap["rcode"] = dns_rcodes.RCODES[dns_rcode]
Expand Down

0 comments on commit 279eb73

Please sign in to comment.