Searched refs:first_label (Results 1 – 1 of 1) sorted by relevance
342 char first_label[MAXHOSTNAMELEN]; in smb_ddiscover_domain_match() local356 (void) strlcpy(first_label, entry, MAXHOSTNAMELEN); in smb_ddiscover_domain_match()357 if ((p = strchr(first_label, '.')) != NULL) { in smb_ddiscover_domain_match()359 if (strlen(first_label) > 15) in smb_ddiscover_domain_match()360 first_label[15] = '\0'; in smb_ddiscover_domain_match()363 if (smb_strcasecmp(nb_domain, first_label, 0) == 0) { in smb_ddiscover_domain_match()