[CODE] dns cache addition

From: Neal Lahndorff (stulahnd@ACS.EKU.EDU)
Date: 04/24/98

For those that use the dns cache patch that Sammy wrote, this is a little
addition to short circuit all those annoying aol.com entries in there.

At the beginning of get_host_from_cache  simply add these lines

if (dnsd->ip[0] == 152) {
  sprintf(buf, "%d.%d.%d.aol.com", dnsd->ip[1], dnsd->ip[2], dnsd->ip[3]);
  dnsd->name = strdup(buf);
  return TRUE;


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |

This archive was generated by hypermail 2b30 : 12/15/00 PST