From: Bjoern Sikora Date: Fri, 28 Jan 2011 11:02:10 +0000 (+0100) Subject: Also add the default update interval into generic service definition file. X-Git-Tag: v1.1~27 X-Git-Url: http://developer.intra2net.com/git/?p=bpdyndnsd;a=commitdiff_plain;h=b67d84ea323cb33ff3ced1d867d7aa7fb6dd544f Also add the default update interval into generic service definition file. In case we define a new service and forget to set the interval, this prevents using update interval of 0. --- diff --git a/src/service.cpp b/src/service.cpp index a8b52c6..492425f 100644 --- a/src/service.cpp +++ b/src/service.cpp @@ -24,8 +24,8 @@ Service::Service() : Login("NOT SERIALIZED") , Password("NOT SERIALIZED") , ActualIP("0.0.0.0") - , UpdateInterval(0) - , MaxUpdatesWithinInterval(0) + , UpdateInterval(15) + , MaxUpdatesWithinInterval(3) , DNSCacheTTL(0) , ErrorCount(0) , ErrorServiceBlockedUntil(0)