git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a01ce6d
)
Also add the default update interval into generic service definition file.
author
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Fri, 28 Jan 2011 11:02:10 +0000 (12:02 +0100)
committer
Bjoern Sikora
<bjoern.sikora@intra2net.com>
Fri, 28 Jan 2011 11:02:10 +0000 (12:02 +0100)
In case we define a new service and forget to set the interval, this prevents using update interval of 0.
src/service.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/service.cpp
b/src/service.cpp
index
a8b52c6
..
492425f
100644
(file)
--- 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)