projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
print ttl when receiving a PTR record
[project/mdnsd.git]
/
cache.c
diff --git
a/cache.c
b/cache.c
index
af6cbba
..
2b5ca54
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);