]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: server: Add missing params in comment of the server state line parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:12:05 +0000 (10:12 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 13:00:43 +0000 (14:00 +0100)
srv_use_ssl and srv_check_port parameters were not mentionned in the comment
of the function parsing a server state line.

src/server.c

index ba85bb8782e6e3576ca2ef727454af19036cfbc5..da2325e9abfdf82a931996d4fef092fdebe510a7 100644 (file)
@@ -3110,6 +3110,8 @@ static void srv_state_parse_line(char *buf, const int version, char **params, ch
                                         * srv_fqdn:             params[17] => srv_params[13]
                                         * srv_port:             params[18] => srv_params[14]
                                         * srvrecord:            params[19] => srv_params[15]
+                                        * srv_use_ssl:          params[20] => srv_params[16]
+                                        * srv_check_port:       params[21] => srv_params[17]
                                         */
                                        if (arg >= 4) {
                                                srv_params[srv_arg] = cur;