hnbgw: Log new SCTP HNB connections

Change-Id: I07b98ff4c3199eeab11a8c1cfd9ce44ab99bca85
This commit is contained in:
Pau Espin 2022-09-12 20:56:13 +02:00
parent 419e832473
commit eadf523393
1 changed files with 3 additions and 0 deletions

View File

@ -375,6 +375,9 @@ static int accept_cb(struct osmo_stream_srv_link *srv, int fd)
struct hnb_gw *gw = osmo_stream_srv_link_get_data(srv);
struct hnb_context *ctx;
LOGP(DMAIN, LOGL_INFO, "New HNB SCTP connection %s\n",
osmo_sock_get_name2(fd));
ctx = hnb_context_alloc(gw, srv, fd);
if (!ctx)
return -ENOMEM;