Print function in neat_log
@@ -6089,7 +6089,7 @@ neat_connect_via_usrsctp(struct neat_he_candidate *candidate)
protocol = neat_stack_to_protocol(neat_base_stack(candidate->pollable_socket->stack));
if (protocol == 0) {
- neat_log(candidate->ctx, NEAT_LOG_ERROR, "Stack %d not supported", candidate->pollable_socket->stack);
+ neat_log(candidate->ctx, NEAT_LOG_ERROR, "%s - Stack %d not supported", __func__, candidate->pollable_socket->stack);
return -1;
}
@@ -6444,7 +6444,7 @@ neat_listen_via_usrsctp(struct neat_ctx *ctx,
protocol = neat_stack_to_protocol(neat_base_stack(listen_socket->stack));
if (protocol == 0) {
- neat_log(flow->ctx, NEAT_LOG_ERROR, "Stack %d not supported", listen_socket->stack);
+ neat_log(flow->ctx, NEAT_LOG_ERROR, "%s - Stack %d not supported", __func__, listen_socket->stack);
return -1;
}
