]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: create new function cli_find_frontend() to find a frontend
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 11:02:29 +0000 (12:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:59:27 +0000 (16:59 +0100)
commit960f2cb0565f2d1d0bebd86f732e08108f3bda2f
tree33d35d5cf65168e02ce8d339ae2ba15541e279bf
parent21b069dca83e2bc29d720e74f22848d8c24aa48d
MINOR: proxy: create new function cli_find_frontend() to find a frontend

Several CLI commands require a frontend, so let's have a function to
look this one up and prepare the appropriate error message and the
appctx's state in case of failure.
include/proto/proxy.h
src/proxy.c