]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: ssl: fix comment in 'show ssl sni'
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 10 Dec 2024 10:17:10 +0000 (11:17 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 10 Dec 2024 10:17:10 +0000 (11:17 +0100)
Fix a comment in the 'show ssl sni' IO handler.

src/ssl_ckch.c

index 2966ba9675c29d9e934c479e1635496e34f2d277..a0eb1ecfa35cdc53361b10c00b99008ee6ad9272 100644 (file)
@@ -1590,7 +1590,7 @@ static int cli_io_handler_show_sni(struct appctx *appctx)
 
                        HA_RWLOCK_RDLOCK(SNI_LOCK, &bind->sni_lock);
 
-                       /* do this twice: once for wildcards and once for standard SNI */
+                       /* do this twice: once for the standard SNI and once for wildcards */
                        for (type = ctx->nodetype; type < 2; type++) {
 
                                n = ctx->n; /* get the node from previous yield */