We're requesting the unofficial proxy option (252) but then throwing
away the response because we don't recognise the type for it.

This fixes proxy detection via DHCP.
---
 gdhcp/common.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gdhcp/common.c b/gdhcp/common.c
index 00817af..ff25dfe 100644
--- a/gdhcp/common.c
+++ b/gdhcp/common.c
@@ -52,6 +52,7 @@ static const DHCPOption client_options[] = {
        { OPTION_U16,                   0x39 }, /* max-size */
        { OPTION_STRING,                0x3c }, /* vendor */
        { OPTION_STRING,                0x3d }, /* client-id */
+       { OPTION_STRING,                0xfc }, /* UNOFFICIAL proxy-pac */
        { OPTION_UNKNOWN,               0x00 },
 };
 
-- 
1.7.3.2


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

Reply via email to