SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.75
#ifndef lint
#ifdef DAEMON
#ifndef lint
#ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c 8.74 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.75 (Berkeley) %G% (with daemon mode)";
-static char sccsid[] = "@(#)daemon.c 8.74 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.75 (Berkeley) %G% (without daemon mode)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
}
/* p now points to the OSTYPE field */
}
/* p now points to the OSTYPE field */
+ while (isascii(*p) && isspace(*p))
+ p++;
+ if (strncasecmp(p, "other", 5) == 0 &&
+ (p[5] == ':' || p[5] == ' ' || p[5] == ',' || p[5] == '\0'))
+ {
+ /* not useful information */
+ goto noident;
+ }
p = strchr(p, ':');
if (p == NULL)
{
p = strchr(p, ':');
if (p == NULL)
{