projects
/
oweals
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bdbcd7
)
print ttl when receiving a PTR record
author
John Crispin
<blogic@openwrt.org>
Thu, 4 Sep 2014 19:01:48 +0000
(21:01 +0200)
committer
John Crispin
<blogic@openwrt.org>
Thu, 4 Sep 2014 19:01:48 +0000
(21:01 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
cache.c
patch
|
blob
|
history
diff --git
a/cache.c
b/cache.c
index af6cbbafb341435d53d98134800d53690aeb7716..2b5ca541d3216f4e34aac837f5102722ef4857fe 100644
(file)
--- 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);