From 95bbc409b625913788620deb6fff411ddb7b9656 Mon Sep 17 00:00:00 2001 From: OMoskalenkoNCS Date: Tue, 10 Nov 2026 09:13:05 +0000 Subject: [PATCH] Initialize sequence_number to zero in cups-browsed when subscription created and renewed --- daemon/cups-browsed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c index 0b3e4859..4c11009b 100644 --- a/daemon/cups-browsed.c +++ b/daemon/cups-browsed.c @@ -11048,6 +11048,7 @@ browse_poll_create_subscription (browsepoll_t *context, !strcasecmp (ippGetName (attr), "notify-subscription-id")) { context->subscription_id = ippGetInteger (attr, 0); + context->sequence_number = 0; debug_printf("cups-browsed [BrowsePoll %s:%d]: subscription ID=%d\n", context->server, context->port, context->subscription_id); break;