[][src]Function esp_idf_bindgen::esp_netif_get_old_ip_info

pub unsafe extern "C" fn esp_netif_get_old_ip_info(
    esp_netif: *mut esp_netif_t,
    ip_info: *mut esp_netif_ip_info_t
) -> esp_err_t

@brief Get interface's old IP information

Returns an "old" IP address previously stored for the interface when the valid IP changed.

If the IP lost timer has expired (meaning the interface was down for longer than the configured interval) then the old IP information will be zero.

@param[in] esp_netif Handle to esp-netif instance @param[out] ip_info If successful, IP information will be returned in this argument.

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS