mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MINOR: add missing modes in proxy_mode_str()
Add the missing PR_MODE_SYSLOG and PR_MODE_PEERS in proxy_mode_str(). Could be backported in every maintained versions.
This commit is contained in:
parent
c4e56dc58c
commit
06715af9e5
@ -379,6 +379,10 @@ const char *proxy_mode_str(int mode) {
|
||||
return "http";
|
||||
else if (mode == PR_MODE_CLI)
|
||||
return "cli";
|
||||
else if (mode == PR_MODE_SYSLOG)
|
||||
return "syslog";
|
||||
else if (mode == PR_MODE_PEERS)
|
||||
return "peers";
|
||||
else
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user