Skip to content

Conversation

@chenyuheng
Copy link

Current dnstap command line tool won't output the "extra" field defined in dnstap.proto for JSON and YAML output. This PR fixed this issue.

As no encoding is enforced for the "extra" field, I used strconv.Quote to escape possible non-printable characters by default. Also, hexadecimal output or base64 output is supported with the -x option.

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