Skip to content
Snippets Groups Projects
Commit 37d7bb9f authored by David Vasek's avatar David Vasek Committed by Daniel Salzman
Browse files

server: report the protocol when binding to the interface fails

parent e55d2549
No related branches found
No related tags found
No related merge requests found
Pipeline #55767 failed
......@@ -257,7 +257,7 @@ static iface_t *server_init_iface(struct sockaddr_storage *addr,
}
if (sock < 0) {
log_error("cannot bind address %s (%s)", addr_str,
log_error("cannot bind address %s UDP (%s)", addr_str,
knot_strerror(sock));
server_deinit_iface(new_if);
return NULL;
......@@ -303,7 +303,7 @@ static iface_t *server_init_iface(struct sockaddr_storage *addr,
}
if (sock < 0) {
log_error("cannot bind address %s (%s)", addr_str,
log_error("cannot bind address %s TCP (%s)", addr_str,
knot_strerror(sock));
server_deinit_iface(new_if);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment