]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
HTTP Client: Change checkip URL to ipfire.org
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 14:19:09 +0000 (14:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 14:21:24 +0000 (14:21 +0000)
This is the same service, but I think it makes more sense to use the
ipfire.org domain.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/http-client-functions.pl

index c9484c575f088fcb8788d07e314748660ad94982..51687ffdeb354f512164eab8db23fd54e080085e 100644 (file)
@@ -293,11 +293,11 @@ sub downloader (%) {
 }
 
 #
-# Tiny function to grab the public red IPv4 address using LWL.
+# Tiny function to grab the public red IPv4 address using an online service.
 #
 sub FetchPublicIp {
        # URL to grab the public IP.
-       my $url = "https://checkip4.dns.lightningwirelabs.com";
+       my $url = "https://checkip4.ipfire.org";
 
        # Call downloader to fetch the public IP.
        my $response = &downloader("URL" => $url);