// Get the received http data.
string curl_data = HTTPHelp->get_curl_data();
- // Note: We don't handle "nochg" as this shouldn't happen
- // if only one client is active.
-
if ( curl_data.compare(0,4,"good") == 0 )
{
return 0;
}
+ else if (curl_data.compare(0,5,"nochg") == 0 )
+ {
+ // IP didn't change, this might indicate a problem at the
+ // dyndns backend or another client is running elsewhere.
+ return 0;
+ }
+ else if (curl_data.compare(0,5,"abuse") == 0 )
+ {
+ // Account is blocked. Log it as a successful update
+ // so the IP address will be "burnt" until it changes.
+ return 0;
+ }
else if ( curl_data == "badauth" )
{
get_logger()->print_service_not_authorized(url,get_login(),get_password());