Merge branch 'philip-proxy-config' of github.com:getdnsapi/getdns into philip-proxy-config

This commit is contained in:
Willem Toorop 2022-10-03 13:22:37 +02:00
commit 21f31182a2
1 changed files with 3 additions and 2 deletions

View File

@ -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;