2009年12月2日 星期三

add domain_name_servers to default reqeust options

add domain_name_servers to default reqeust options donut-x86 master android-x86-1.6



author Chih-Wei Huang

Wed, 2 Sep 2009 06:57:13 +0000 (14:57 +0800)

committer Chih-Wei Huang

Wed, 2 Sep 2009 06:57:13 +0000 (14:57 +0800)







dhcpcd.c

patch | blob | history






diff --git a/dhcpcd.c b/dhcpcd.c


index e674bd2..f4f21c3 100644 (file)


--- a/dhcpcd.c

+++ b/dhcpcd.c

@@ -659,8 +659,8 @@ main(int argc, char **argv)

VENDORCLASSID_MAX_LEN,

"%s %s", PACKAGE, VERSION);



-#ifdef CMDLINE_COMPAT

add_option_mask(options->requestmask, DHO_DNSSERVER);

+#ifdef CMDLINE_COMPAT

add_option_mask(options->requestmask, DHO_DNSDOMAIN);

add_option_mask(options->requestmask, DHO_DNSSEARCH);

add_option_mask(options->requestmask, DHO_NISSERVER);


/system/core/libnetutil
/external/dhcpcd
frameworks/base/core/java/android/net/MobileDataState.java

沒有留言:

張貼留言