Skip to content

Commit

Permalink
Remove dns last_rsp (use last_rsp_arr)
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Oct 30, 2024
1 parent e887ad6 commit 961d945
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/lua/modules/tag_utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ tag_utils.defined_tags = {
mdns_answer = {
value_type = 'mdns_answer',
i18n_label = i18n('db_search.tags.mdns_answer'),
operators = { 'eq', 'neq', 'in', 'nin' }
operators = { 'eq', 'neq' }
},
mdns_name = {
value_type = 'mdns_name',
Expand Down
2 changes: 0 additions & 2 deletions src/Flow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7754,8 +7754,6 @@ void Flow::getDNSInfo(ndpi_serializer *serializer) const {
protos.dns.last_query);

if (protos.dns.last_rsp) {
ndpi_serialize_string_string(serializer, "last_rsp",
protos.dns.last_rsp);
std::string array = Utils::list2JsonArray(protos.dns.last_rsp);
ndpi_serialize_string_raw(serializer, "last_rsp_arr",
array.c_str(), array.length());
Expand Down

0 comments on commit 961d945

Please sign in to comment.