]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't treat "localhost.localdomain" as an allowed replacement for localhost, since...
authorMichael R Sweet <michaelrsweet@gmail.com>
Tue, 3 Jan 2017 18:52:47 +0000 (13:52 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Tue, 3 Jan 2017 18:52:47 +0000 (13:52 -0500)
scheduler/client.c

index 42010def18bac9984d343a9761363a5fdafe4213..20ccf11a9a97dc96fe535eca6c65f6df43421eff 100644 (file)
@@ -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]"));
   }