Ethereal-dev: Re: [Ethereal-dev] [Patch] Name resolution from "hosts" file

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 17 Nov 2004 11:21:03 -0800
Francisco Alcoba (TS/EEM) wrote:

I've seen you add aliases to the hash table too. Is there any place where the table is used for name to address resolution? That would be interesting for another issue
I'm still trying to figure out.

Currently, no. "get_host_ipaddr()" and "get_host_ipaddr6()" could be modified to do so. (Note that those aren't used in dissectors; they're only used when parsing display filters. Note, though, that, in display filters, we should allow host names to be translated into a *set* of addresses, with address fields matching *any* of those addresses if you compare for equality.)