--- db.c.orig Sat Sep 30 19:39:58 2000 +++ db.c Tue Apr 13 17:42:20 2004 @@ -283,7 +283,7 @@ BCOPY(e, ep->e, 6); if (h == NULL && !initializing) h = getsname(a); - if (h != NULL && !isdigit((int)*h)) + if (h != NULL) strcpy(ep->h, h); ep->t = t; return (ep); @@ -301,7 +301,7 @@ return; ep = ap->elist[0]; h = getsname(ap->a); - if (!isdigit((int)*h) && strcmp(h, ep->h) != 0) { + if (h != NULL && strcmp(h, ep->h) != 0) { syslog(LOG_INFO, "hostname changed %s %s %s -> %s", intoa(ap->a), e2str(ep->e), ep->h, h); strcpy(ep->h, h);