Fixed small bug in converting policy to binary. And updated reference to stubby

This commit is contained in:
Philip Homburg 2022-09-29 12:21:12 +02:00
parent 544746094c
commit 7513632d42
2 changed files with 4 additions and 3 deletions

View File

@ -3150,14 +3150,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;

2
stubby

@ -1 +1 @@
Subproject commit 3d5632852826736b14a5b86b6f19117f7bce97da
Subproject commit 2eab450c458e87f07488a011b0e9c64a4fa9b82c