mirror of https://github.com/getdnsapi/getdns.git
Merge branch 'philip-proxy-config' of github.com:getdnsapi/getdns into philip-proxy-config
This commit is contained in:
commit
21f31182a2
|
@ -3230,14 +3230,15 @@ fprintf(stderr, "update_proxy_policy_opts: policy_count %d\n", policy_count);
|
|||
size= sizeof(buf)-off;
|
||||
proxy_policy2opt(policy, 1 /*do_ipv6*/, buf.buf+off,
|
||||
&size);
|
||||
off= size;
|
||||
off += size;
|
||||
}
|
||||
if (has_v4)
|
||||
{
|
||||
size= sizeof(buf)-off;
|
||||
proxy_policy2opt(policy, 0 /*!do_ipv6*/, buf.buf+off, &size);
|
||||
off= size;
|
||||
off += size;
|
||||
}
|
||||
fprintf(stderr, "update_proxy_policy_opts: off %lu\n", off);
|
||||
}
|
||||
|
||||
opt= NULL;
|
||||
|
|
Loading…
Reference in New Issue