diff --git a/src/ipinfo.rs b/src/ipinfo.rs index 170abac..a2870f4 100644 --- a/src/ipinfo.rs +++ b/src/ipinfo.rs @@ -306,8 +306,9 @@ impl IpInfo { self._lookup(ip, BASE_URL).await } - pub async fn lookup_v6(&mut self, ip: &str) -> Result { - self._lookup(ip, BASE_URL_V6).await + // Lookup your own v6 IP + pub async fn lookup_self_v6(&mut self) -> Result { + self._lookup("", BASE_URL_V6).await } async fn _lookup(