fix-surfshark-check-vpn
master
The logic for getting the IP address is not within the "find_available_ip_endpoint" function in order to allow for proper error handling. If "send_error_message" were called in the function, the script would exit with no indication as to why.
The original "check-vpn" used an endpoint that is no longer online. FIX: Replace the endpoint with ipinfo.io, a currently active service