bool is_local_ipv4(const std::string ip) const;
bool is_local_ipv6(const std::string ip) const;
- std::string webcheck_ip();
+ std::string webcheck_ip(bool changed_to_online);
CURL * init_curl(std::string& curl_writedata_buff, char* curl_err_buff) const;
int perform_curl_operation(CURL * curl_easy_handle, const char* curl_err_buff, const std::string& actual_url) const;
std::string parse_ipv4(const std::string& data) const;
std::string dns_query(const std::string& _hostname) const;
- std::string get_actual_ip( bool use_webcheck );
+ std::string get_actual_ip( bool use_webcheck, bool changed_to_online );
std::string get_local_wan_nic_ip() const;