Fixed burnt IP detection issue. Moved burnt IP detection into update_allowed().
[bpdyndnsd] / src / service.hpp
index e0410f1..5037883 100644 (file)
@@ -73,7 +73,7 @@ public:
 
     void update(const std::string& ip, const time_t current_time, bool changed_to_online);
 
-    bool update_allowed(const time_t current_time, bool changed_to_online);
+    bool update_allowed(const time_t current_time, bool changed_to_online, const std::string& ip_host);
 
     void set_last_update(const time_t current_time, const std::string& ip);