From aa35f31bdb084f12258fb644812889ac977c0630 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 4 Sep 2014 21:01:48 +0200 Subject: [PATCH] print ttl when receiving a PTR record Signed-off-by: John Crispin --- cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.c b/cache.c index af6cbba..2b5ca54 100644 --- a/cache.c +++ b/cache.c @@ -239,7 +239,7 @@ cache_answer(struct interface *iface, uint8_t *base, int blen, char *name, struc return; } - DBG(1, "A -> %s %s %s\n", dns_type_string(a->type), name, rdata_buffer); + DBG(1, "A -> %s %s %s ttl:%d\n", dns_type_string(a->type), name, rdata_buffer, a->ttl); rdlength = strlen(rdata_buffer); -- 2.25.1