Commit 47f497ae authored by Alessandro Rubini's avatar Alessandro Rubini

net: add a verbose message on socket creation

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent da09373d
......@@ -63,6 +63,9 @@ struct wrpc_socket *ptpd_netif_create_socket(struct wrpc_socket *sock,
pp_printf("%s: no socket slots left\n", __func__);
return NULL;
}
net_verbose("%s: socket %p for %04x:%04x, slot %i\n", __func__,
sock, ntohs(bind_addr->ethertype),
udpport, i);
if (wrpc_get_port_state(&pstate, "wr0" /* unused */) < 0)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment