commit | 3b923003c7c5a13b4ff2e2091acd307e9d1304b2 | [log] [tgz] |
---|---|---|
author | Jim Huang <jserv@0xlab.org> | Thu Sep 23 15:12:31 2010 +0800 |
committer | Jim Huang <jserv@0xlab.org> | Thu Sep 23 15:14:05 2010 +0800 |
tree | 6322393e293dfd2a6250828c23cc18f6c773579e | |
parent | d7f236d811e18b8de3cabdf1a69a28ecedbb3a02 [diff] |
Avoid calling res_init() since it's a private API in bionic In 4.3BSD, res_init() function reads the config files (resolv.conf) to get the default domain name, search order and name server address(es). However, in bionic, resolv.conf is already ignored, so it is a no-op for actual functionality. Change-Id: Ib11fee052ff0b2bae8f5a4f036b7cdc1d1b059a2