Skip to content

Commit afa80cb

Browse files
author
Michael R Sweet
committed
Don't treat "localhost.localdomain" as an allowed replacement for localhost, since it isn't.
1 parent 7852449 commit afa80cb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: scheduler/client.c

-3
Original file line numberDiff line numberDiff line change
@@ -3890,9 +3890,6 @@ valid_host(cupsd_client_t *con) /* I - Client connection */
38903890

38913891
return (!_cups_strcasecmp(con->clientname, "localhost") ||
38923892
!_cups_strcasecmp(con->clientname, "localhost.") ||
3893-
#ifdef __linux
3894-
!_cups_strcasecmp(con->clientname, "localhost.localdomain") ||
3895-
#endif /* __linux */
38963893
!strcmp(con->clientname, "127.0.0.1") ||
38973894
!strcmp(con->clientname, "[::1]"));
38983895
}

0 commit comments

Comments
 (0)