dnsproxy: Have a minimum cache TTL
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 10 Jan 2012 00:08:42 +0000 (16:08 -0800)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 10 Jan 2012 12:43:57 +0000 (13:43 +0100)
commit441e41382b97c7ff8802a2ed78f4ca6a0c672489
tree41a74beeef661f85393cb0baed1c5759479cf3b7
parentc008187195ccf10b70c5aba319b0fc73932db1f2
dnsproxy: Have a minimum cache TTL

some DNS servers return an extremely short TTL causing all kinds of fun.
This patch ensures that we just enforce a minimum TTL of 30 seconds.
src/dnsproxy.c