*** cfengine-1.5.4/src/proto.c Thu Sep 16 04:16:38 1999 --- proto.c-1.5.4 Wed Dec 20 13:22:06 2000 *************** *** 73,77 **** } ! Debug("Identifying as %s i.e. %s, with signature %d\n",inet_ntoa(saddr.sin_addr),VFQNAME,CFSIGNATURE); iaddr = &(saddr.sin_addr); --- 73,77 ---- } ! Debug("Identifying as %s i.e. %s, with signature %d\n",inet_ntoa(saddr.sin_addr),fqname,CFSIGNATURE); iaddr = &(saddr.sin_addr); *************** *** 88,92 **** /*if (strstr(hp->h_name,VDOMAIN)== 0)*/ ! if (strstr(hp->h_name,".") == 0) { strcat(dnsname,"."); --- 88,92 ---- /*if (strstr(hp->h_name,VDOMAIN)== 0)*/ ! if ((strstr(hp->h_name,".") == 0) && (strlen(VDOMAIN) > 0)) { strcat(dnsname,".");