Enhanced update logic to respect not activated hostnames. If a hostname could not...
[bpdyndnsd] / src / service_gnudip.cpp
index 76b9420..934db17 100644 (file)
@@ -319,10 +319,12 @@ Service::UpdateErrorCode ServiceGnudip::perform_update(const std::string& ip)
                 else if ( update_return_code == "1" )
                 {
                     get_logger()->print_service_not_authorized(url,get_login(),get_password());
+                    return NotAuth;
                 }
                 else
                 {
                     get_logger()->print_update_failure(url,update_return_code);
+                    return UpdateError;
                 }
             }
             else