]> granicus.if.org Git - pdns/commit
on Linux, SO_TIMESTAMP == SCM_TIMESTAMP, on at least FreeBSD, it is not, causing...
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Feb 2015 16:00:21 +0000 (17:00 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 11 Feb 2015 16:00:21 +0000 (17:00 +0100)
commit22cf1fda34eca2d88505f08afd1ef26a6b33835b
treeb96b7c8041c02990d7d5c9d3423d2e0f95142369
parent8154c25135b7db7bd7ad12616c5244719a560c46
on Linux, SO_TIMESTAMP == SCM_TIMESTAMP, on at least FreeBSD, it is not, causing us to miss harvesting the timestamp, and dropping all packets as too old. With this change, we don't drop if we can't find the timestamp, plus harvest it properly
pdns/iputils.cc
pdns/misc.cc
pdns/pdns_recursor.cc