[uClibc]Suggested addition to resolv.c

Vadim Lebedev vadim at 7chips.com
Thu Feb 20 16:13:18 UTC 2003


Hello,

In some uclinux environments there is no /etc/resolv.conf or /etc/config/resolv.conf files present, because they use
linux ip-autoconf facility  (enable on the kernel cmd line) which is mini boot/dhcp client built-in into the kernel
the info gathered by thi autoconf facility is peresent in the /proc/net/pnp file whic has the same format as /etc/resolv.conf.

So, I think it's  good idea to add an fopen("/prc/net/pnp", r") to the open_nameservers fuction in resolv.c

Vadim
P.S. please CC me directly as i'm not on the list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030220/0f95f7f9/attachment-0001.htm 


More information about the uClibc mailing list