Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal resolv.c

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

From: Laurent Deniel <deniel@xxxxxxxxxxxx>
Date: Thu, 10 Aug 2000 17:35:36 -0500 (CDT)
deniel      2000/08/10 17:35:33 CDT

  Modified files:
    .                    resolv.c 
  Log:
  - remove debugging #ifdef
  - protect expensive calls (getXXXbyYYY) with g_resolving_actif check,
    that solves a problem with add_ether_byip which was too expensive
    due to IP address resolution even when g_resolving_actif was disabled.
  
    I need to clean further.
  
    Do you think that having inexpensive name resolution (i.e. from
    hash table only which can be filled by dissectors or file reading)
    even if name resolution is disabled (g_resolving_actif = FALSE) is
    preferable than having no name resolution at all (which is currently
    the case). I may change to the first solution in the future if there
    is no objection.
  
  Revision  Changes    Path
  1.27      +35 -37    ethereal/resolv.c