diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-31 21:11:57 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-31 21:11:57 +0100 |
commit | 7c869ec04330f2f07c571b1fec8c14273d754ea6 (patch) | |
tree | 9712d132e61d024458c3ec45997a6dff6525f0a9 | |
parent | 724eb33c2a3fb121731f254c20af10107ef74086 (diff) |
vnet: ext ip: Use http, print ? if get() fails
-rwxr-xr-x | bin/vnet | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,8 @@ my $share = $0; my ($ext_ip, $int_ip); sub get_ext_ip { - my $ext = get('https://derf.homelinux.org/cgi-bin/clientinfo/ip.cgi'); + my $ext = get('http://derf.homelinux.org/cgi-bin/clientinfo/ip.cgi') + // qq{?} ; chomp $ext; return $ext; } |