mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
resolved: show TTLs in answer dump
This commit is contained in:
parent
c4d98c3acc
commit
567aa5c87b
@ -879,9 +879,8 @@ void dns_answer_dump(DnsAnswer *answer, FILE *f) {
|
||||
}
|
||||
|
||||
fputs(t, f);
|
||||
|
||||
if (item->ifindex != 0 || item->rrsig || item->flags != 0)
|
||||
fputs("\t;", f);
|
||||
fputs("\t;", f);
|
||||
fprintf(f, " ttl=%" PRIu32, item->rr->ttl);
|
||||
|
||||
if (item->ifindex != 0)
|
||||
fprintf(f, " ifindex=%i", item->ifindex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user