mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-16 10:46:10 +02:00
CLEANUP: proxy: fix duplicate declaration of cli_find_frontend in proxy.h
The function cli_find_frontend was declared twice identically at lines 98-99 of include/haproxy/proxy.h. The second declaration should have been for cli_find_backend, which is defined in src/proxy.c and used in several places but was missing from the header's exported symbols. This is a simple copy-paste mistake where line 99 duplicated line 98 verbatim instead of declaring cli_find_backend.
This commit is contained in:
parent
3460626148
commit
9ebb00e673
@ -96,7 +96,7 @@ void proxy_capture_error(struct proxy *proxy, int is_back,
|
||||
void (*show)(struct buffer *, const struct error_snapshot *));
|
||||
void proxy_adjust_all_maxconn(void);
|
||||
struct proxy *cli_find_frontend(struct appctx *appctx, const char *arg);
|
||||
struct proxy *cli_find_frontend(struct appctx *appctx, const char *arg);
|
||||
struct proxy *cli_find_backend(struct appctx *appctx, const char *arg);
|
||||
int resolve_stick_rule(struct proxy *curproxy, struct sticking_rule *mrule);
|
||||
void free_stick_rules(struct list *rules);
|
||||
void free_server_rules(struct list *srules);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user