summaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
commitcff6d757e3ba609c08ef2aaa00f07e53551e5bf6 (patch)
tree08c4fc3255483ad397d712edb4214ded49149fd9 /src/protocol.c
parentAdding upstream version 2.9.7. (diff)
downloadhaproxy-upstream/3.0.0.tar.xz
haproxy-upstream/3.0.0.zip
Adding upstream version 3.0.0.upstream/3.0.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/protocol.c b/src/protocol.c
index 25ed6b7..399835a 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -157,13 +157,13 @@ int protocol_bind_all(int verbose)
struct proxy *px = listener->bind_conf->frontend;
if (lerr & ERR_ALERT)
- ha_alert("Binding [%s:%d] for %s %s: %s\n",
+ ha_alert("Binding [%s:%d] for %s %s: protocol %s: %s.\n",
listener->bind_conf->file, listener->bind_conf->line,
- proxy_type_str(px), px->id, errmsg);
+ proxy_type_str(px), px->id, proto->name, errmsg);
else if (lerr & ERR_WARN)
- ha_warning("Binding [%s:%d] for %s %s: %s\n",
+ ha_warning("Binding [%s:%d] for %s %s: protocol %s: %s.\n",
listener->bind_conf->file, listener->bind_conf->line,
- proxy_type_str(px), px->id, errmsg);
+ proxy_type_str(px), px->id, proto->name, errmsg);
}
if (lerr != ERR_NONE)
ha_free(&errmsg);
@@ -183,13 +183,13 @@ int protocol_bind_all(int verbose)
struct proxy *px = listener->bind_conf->frontend;
if (lerr & ERR_ALERT)
- ha_alert("Starting [%s:%d] for %s %s: %s\n",
+ ha_alert("Starting [%s:%d] for %s %s: protocol %s: %s.\n",
listener->bind_conf->file, listener->bind_conf->line,
- proxy_type_str(px), px->id, msg);
+ proxy_type_str(px), px->id, proto->name, msg);
else if (lerr & ERR_WARN)
- ha_warning("Starting [%s:%d] for %s %s: %s\n",
+ ha_warning("Starting [%s:%d] for %s %s: protocol %s: %s.\n",
listener->bind_conf->file, listener->bind_conf->line,
- proxy_type_str(px), px->id, msg);
+ proxy_type_str(px), px->id, proto->name, msg);
}
if (lerr & ERR_ABORT)
break;