Hi Marcel,
>>  gboolean g_resolv_cancel_lookup(GResolv *resolv, guint id);
>>  
>> +gboolean g_resolv_set_result_address_family(GResolv *resolv, int family);
>> +
> why is not using g_web_set_address_family() enough and just restrict
> outgoing and result at the same time?
gweb is not used in wpad (or then in download_pac() but it's currently
empty), only g_resolv.

I first played with getaddrinfo() in wpad.c to filter out gresolv
results but it was a bit overkill since we get struct sockaddr and I had
so run inet_ntop to get char* back.
I did that to follow the wpad.c current logic.
Of course if the plan is to drop this gresolv thing and only use gweb in
wpad.c then yes such patch is irrelevant.

Tomasz
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to