Skip to content

Commit

Permalink
debug: add some debug log
Browse files Browse the repository at this point in the history
Signed-off-by: Dengfeng Liu <[email protected]>
  • Loading branch information
liudf0716 committed Jun 12, 2024
1 parent d5d138a commit 3669fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dns_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ process_dns_response(unsigned char *response, int response_len) {
parse_name(response, &ptr, query_name);
ptr += 4; // Skip QTYPE and QCLASS
}
debug(LOG_DEBUG, "DNS query: %s", query_name);
debug(LOG_DEBUG, "DNS query: %s %x %x", query_name, *ptr, *(ptr + 1));
// find the trusted domain in the query_name
t_domain_trusted *p = config->pan_domains_trusted;
while (p) {
Expand Down

0 comments on commit 3669fda

Please sign in to comment.