From ad096c90f4af097d67ab373f26d99b885c1cadb8 Mon Sep 17 00:00:00 2001 From: "David M." Date: Mon, 12 Nov 2012 21:22:21 -0500 Subject: [PATCH] New URL for 'whatismyipdotcom' (Link has changed). --- UIDevice-Reachability.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UIDevice-Reachability.m b/UIDevice-Reachability.m index 7b9db8c..4b08bdc 100644 --- a/UIDevice-Reachability.m +++ b/UIDevice-Reachability.m @@ -178,7 +178,7 @@ + (NSArray *) localWiFiIPAddresses - (NSString *) whatismyipdotcom { NSError *error; - NSURL *ipURL = [NSURL URLWithString:@"http://www.whatismyip.com/automation/n09230945.asp"]; + NSURL *ipURL = [NSURL URLWithString:@"http://automation.whatismyip.com/n09230945.asp"]; NSString *ip = [NSString stringWithContentsOfURL:ipURL encoding:1 error:&error]; return ip ? ip : [error localizedDescription]; }