@@ -292,8 +292,8 @@ function getCurrentPublicIPv4()
292292 }
293293
294294 if (!isIPV4Valid ($ publicIP ) || $ publicIP === false ) {
295- outputWarning ("https://api.ipify.org didn't return a valid IPv4 address (Try $ retryCount / $ retryLimit). Trying fallback API https://ip4 .seeip.org " );
296- $ url = 'https://ip4 .seeip.org ' ;
295+ outputWarning ("https://api.ipify.org didn't return a valid IPv4 address (Try $ retryCount / $ retryLimit). Trying fallback API https://ipv4 .seeip.org " );
296+ $ url = 'https://ipv4 .seeip.org ' ;
297297 $ ch = initializeCurlHandlerGetIP ($ url );
298298 $ publicIP = trim (curl_exec ($ ch ));
299299 if (!wasCurlSuccessful ($ ch ) || !isIPV4Valid ($ publicIP )) {
@@ -326,7 +326,7 @@ function getCurrentPublicIPv6()
326326
327327 outputStdout ('Getting IPv6 address from API. ' );
328328
329- $ url = 'https://ip6 .seeip.org ' ;
329+ $ url = 'https://ipv6 .seeip.org ' ;
330330 $ ch = initializeCurlHandlerGetIP ($ url );
331331 $ publicIP = trim (curl_exec ($ ch ));
332332
@@ -339,7 +339,7 @@ function getCurrentPublicIPv6()
339339 }
340340
341341 if (!isIPV6Valid ($ publicIP ) || $ publicIP === false ) {
342- outputWarning ("https://ip6 .seeip.org didn't return a valid IPv6 address (Try $ retryCount / $ retryLimit). Trying fallback API https://v6.ident.me/ " );
342+ outputWarning ("https://ipv6 .seeip.org didn't return a valid IPv6 address (Try $ retryCount / $ retryLimit). Trying fallback API https://v6.ident.me/ " );
343343 $ url = 'https://v6.ident.me/ ' ;
344344 $ ch = initializeCurlHandlerGetIP ($ url );
345345 $ publicIP = trim (curl_exec ($ ch ));
0 commit comments