]> granicus.if.org Git - pdns/commit
on Linux, SO_TIMESTAMP == SCM_TIMESTAMP, on at least FreeBSD, it is not, causing... rec-3.7.1
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:11:55 +0000 (17:11 +0100)
commitd63f0d83631c41eff203d30b0b7c475a88f1db59
tree7ead3f888a695c54f51aa5708d909c51fceda32d
parent60ba1e645265e8f0f8e788652bbea3c46224b596
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