From: Michael R Sweet Date: Tue, 3 Jan 2017 18:52:47 +0000 (-0500) Subject: Don't treat "localhost.localdomain" as an allowed replacement for localhost, since... X-Git-Tag: v2.2.2~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa80cb2b457bf8d64f775bed307588610476c41;p=thirdparty%2Fcups.git Don't treat "localhost.localdomain" as an allowed replacement for localhost, since it isn't. --- diff --git a/scheduler/client.c b/scheduler/client.c index 42010def18..20ccf11a9a 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -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]")); }