Improve logging when IP update is not allowed (log once on log level 0 if we changed...
[bpdyndnsd] / src / service.hpp
index 1573bd7..fd5924f 100644 (file)
@@ -69,9 +69,9 @@ public:
 
     virtual int perform_update(const std::string& ip) = 0;
 
-    void update(const std::string& ip, const time_t current_time);
+    void update(const std::string& ip, const time_t current_time, bool changed_to_online);
 
-    bool update_allowed(const time_t current_time);
+    bool update_allowed(const time_t current_time, bool changed_to_online);
 
     void set_last_update(const time_t current_time);