]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/dns: pass byte arrays directly to rust/json
authorJason Ish <ish@unx.ca>
Fri, 16 Jun 2017 05:40:50 +0000 (23:40 -0600)
committerJason Ish <ish@unx.ca>
Sat, 17 Jun 2017 16:32:37 +0000 (10:32 -0600)
commit829155b9d58d465cf29b08dbe7905aaaf7a8a70a
tree7a393d4b435b27a603c25872af8ecdb4141a58a9
parent96cc5030263ac66037c9bb98cd0e5b57c54a0ddc
rust/dns: pass byte arrays directly to rust/json

Using the json.set_string_from_bytes which will
safely convert the bytes printable ascii string
before logging.
rust/src/dns/dns.rs
rust/src/dns/log.rs
rust/src/dns/lua.rs