Permalink
Browse files

Don't treat "localhost.localdomain" as an allowed replacement for loc…

…alhost, since it isn't.
  • Loading branch information...
1 parent 7852449 commit afa80cb2b457bf8d64f775bed307588610476c41 @michaelrsweet michaelrsweet committed Jan 3, 2017
Showing with 0 additions and 3 deletions.
  1. +0 −3 scheduler/client.c
View
@@ -3890,9 +3890,6 @@ valid_host(cupsd_client_t *con) /* I - Client connection */
return (!_cups_strcasecmp(con->clientname, "localhost") ||
!_cups_strcasecmp(con->clientname, "localhost.") ||
-#ifdef __linux
- !_cups_strcasecmp(con->clientname, "localhost.localdomain") ||
-#endif /* __linux */
!strcmp(con->clientname, "127.0.0.1") ||
!strcmp(con->clientname, "[::1]"));
}

0 comments on commit afa80cb

Please sign in to comment.