*** cfengine-1.6.0/src/proto.c Sun Nov 19 13:26:37 2000 --- proto.c Wed Dec 20 12:47:48 2000 *************** *** 75,79 **** } ! Debug("Identifying as %s i.e. %s, with signature %d\n",inet_ntoa(saddr.sin_addr),VFQNAME,CFSIGNATURE); iaddr = &(saddr.sin_addr); --- 75,79 ---- } ! Debug("Identifying as %s i.e. %s, with signature %d\n",inet_ntoa(saddr.sin_addr),fqname,CFSIGNATURE); iaddr = &(saddr.sin_addr); *************** *** 90,94 **** /*if (strstr(hp->h_name,VDOMAIN)== 0)*/ ! if (strstr(hp->h_name,".") == 0) { strcat(dnsname,"."); --- 90,94 ---- /*if (strstr(hp->h_name,VDOMAIN)== 0)*/ ! if ((strstr(hp->h_name,".") == 0) && (strlen(VDOMAIN) > 0)) { strcat(dnsname,".");