git://developer.intra2net.com
/
pingcheck
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
bugfixed erase and re-set of TTLs; changed time warp thresh from 24h to 10mins
[pingcheck]
/
src
/
dns
/
timetolive.cpp
diff --git
a/src/dns/timetolive.cpp
b/src/dns/timetolive.cpp
index
87232df
..
3ad31a6
100644
(file)
--- a/
src/dns/timetolive.cpp
+++ b/
src/dns/timetolive.cpp
@@
-52,7
+52,7
@@
uint32_t TimeToLive::get_value() const
*/
void TimeToLive::set_value( const uint32_t ttl )
{
- BOOST_ASSERT( 0 < ttl );
+ BOOST_ASSERT( 0 <= ttl );
Ttl = ttl;
TtlSetTime = microsec_clock::universal_time();