]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: tcpcheck: reintroduce proxy_parse_tcpcheck() symbol
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 3 Apr 2026 12:35:58 +0000 (14:35 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 3 Apr 2026 12:37:27 +0000 (14:37 +0200)
Remove the proxy_parse_tcpcheck() static keyword.

src/tcpcheck.c

index c88705289726211d72ed2d67dcafe5c4dda37ec9..3d0ad19ffa1fe001629054e8f55fd691d5be3dd3 100644 (file)
@@ -5334,8 +5334,8 @@ static int do_parse_tcp_check_opt(char **args, int cur_arg, struct proxy *curpx,
 }
 
 /* Parses the "tcp-check" proxy keyword */
-static int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx, const struct proxy *defpx,
-                               const char *file, int line, char **errmsg)
+int proxy_parse_tcpcheck(char **args, int section, struct proxy *curpx, const struct proxy *defpx,
+                         const char *file, int line, char **errmsg)
 {
        struct tcpcheck_ruleset *rs = NULL;
        int ret = 0, ret2;