bugfixed erase and re-set of TTLs; changed time warp thresh from 24h to 10mins
[pingcheck] / src / dns / timetolive.cpp
index 87232df..3ad31a6 100644 (file)
@@ -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();