- remove debugging #ifdef
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 10 Aug 2000 22:35:30 +0000 (22:35 +0000)
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 10 Aug 2000 22:35:30 +0000 (22:35 +0000)
commit78e1ee0e252f1028188279ab556cf1a1510bcabe
tree33c03d3ed4ef2bdea44b7cb590ac314bd2fadc86
parent64fecaf15cf34706f7939fa262554adbbfbeb11b
- 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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2249 f5534014-38df-0310-8fa8-9805f1628bb7
resolv.c