Don't get host-specific values of global options
This commit is contained in:
parent
5d545aae5c
commit
f3678ce119
1 changed files with 2 additions and 2 deletions
|
@ -2883,7 +2883,7 @@ sub get_ip {
|
||||||
}
|
}
|
||||||
if ($url) {
|
if ($url) {
|
||||||
$reply = geturl(
|
$reply = geturl(
|
||||||
proxy => opt('proxy', $h),
|
proxy => opt('proxy'),
|
||||||
url => $url,
|
url => $url,
|
||||||
ssl_validate => opt('web-ssl-validate', $h),
|
ssl_validate => opt('web-ssl-validate', $h),
|
||||||
);
|
);
|
||||||
|
@ -3287,7 +3287,7 @@ sub get_ipv4 {
|
||||||
}
|
}
|
||||||
if ($url) {
|
if ($url) {
|
||||||
$reply = geturl(
|
$reply = geturl(
|
||||||
proxy => opt('proxy', $h),
|
proxy => opt('proxy'),
|
||||||
url => $url,
|
url => $url,
|
||||||
ipversion => 4, # when using a URL to find IPv4 address we should force use of IPv4
|
ipversion => 4, # when using a URL to find IPv4 address we should force use of IPv4
|
||||||
ssl_validate => opt('web-ssl-validate', $h),
|
ssl_validate => opt('web-ssl-validate', $h),
|
||||||
|
|
Loading…
Reference in a new issue