From d833bf70ca244bec2d03689acdd4f96588b51ec2 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 2 Sep 2024 12:38:44 +0200 Subject: [PATCH] cups/dest.c: Set auth as required if not none Fixes #1037 --- cups/dest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cups/dest.c b/cups/dest.c index 1c8bd67822..e971e6df62 100644 --- a/cups/dest.c +++ b/cups/dest.c @@ -3148,8 +3148,7 @@ cups_dnssd_query_cb( } else if (!saw_printer_type) { - if (!_cups_strcasecmp(key, "air") && - !_cups_strcasecmp(value, "t")) + if (!_cups_strcasecmp(key, "air") && _cups_strcasecmp(value, "none")) type |= CUPS_PRINTER_AUTHENTICATED; else if (!_cups_strcasecmp(key, "bind") && !_cups_strcasecmp(value, "t")) -- 2.47.2