site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Does anybody here have some information on this? If this is the wrong mailing list to ask, pls tell me which one would be more appropriate. -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Mar 20, 2009, at 6:49 AM, Marc Balmer wrote: While porting a piece of software from OpenBSD to Mac OS X 10.5.6, I found that /etc/ethers seems not to be read by ether_hostton(). I created an /etc/ethers file with a few entries, but neither my software nor e.g. tcpdump finds those entries. This appears to be handled in SEL_NAME case in the file lookup.subproj/ file_module.c in the LibInfo project, which is part of libc/libSystem. Maybe you are formatting the contents incorrectly for parsing, and need to look at the source for the parse routine? Alternately, since it's in the file-module of LibInfo, maybe you have to do some sort of configuration dance to ensure that it's being consulted (I would have no idea what). I expect enumation by ether_line() would work in any case, assuming your file format was correct, since there are no explicit comparison items used in that case, as it's an iterator. Good luck (and before you ask, I have no idea what sort of dance would be necessary, you'll need to trace the code paths to find out). This email sent to site_archiver@lists.apple.com