Added updated IP into update successful log message.
[bpdyndnsd] / src / service.cpp
index 45d833e..de500c2 100644 (file)
@@ -307,7 +307,7 @@ void Service::update(const string& ip, const time_t current_time, bool changed_t
             // if update was successful, we need to set the Lastupdated and ActualIP base member.
             set_last_update(current_time,ip);
             ActualIP = ip;
-            Log->print_update_service_successful(service_name);
+            Log->print_update_service_successful(service_name,ip);
 
             ErrorCount = 0;
             ErrorServiceBlockedUntil = 0;