mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
resolved: show rcode in debug output for incoming replies
This is the most important piece of information of replies, hence show this in the first log message about it. (Wireshark shows it too in the short summary, hence this definitely makes sense...)
This commit is contained in:
parent
7d581a6576
commit
1fdeaeb741
@ -833,7 +833,7 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
|
||||
* should hence not attempt to access the query or transaction
|
||||
* after calling this function. */
|
||||
|
||||
log_debug("Processing incoming packet on transaction %" PRIu16".", t->id);
|
||||
log_debug("Processing incoming packet on transaction %" PRIu16". (rcode=%s)", t->id, dns_rcode_to_string(DNS_PACKET_RCODE(p)));
|
||||
|
||||
switch (t->scope->protocol) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user