mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
This commit is contained in:
@@ -858,7 +858,7 @@ sub FetchPublicIp {
|
|||||||
Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
|
Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
|
||||||
}
|
}
|
||||||
my $user_agent = &MakeUserAgent();
|
my $user_agent = &MakeUserAgent();
|
||||||
my ($out, $response) = Net::SSLeay::get_http( 'checkip.dns.lightningwirelabs.com',
|
my ($out, $response) = Net::SSLeay::get_http( 'checkip4.dns.lightningwirelabs.com',
|
||||||
80,
|
80,
|
||||||
"/",
|
"/",
|
||||||
Net::SSLeay::make_headers('User-Agent' => $user_agent )
|
Net::SSLeay::make_headers('User-Agent' => $user_agent )
|
||||||
|
|||||||
Reference in New Issue
Block a user