aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream_srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_srv.c')
-rw-r--r--src/stream_srv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream_srv.c b/src/stream_srv.c
index 6c50a69..3625ffd 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -891,6 +891,10 @@ static int _sctp_recvmsg_wrapper(int fd, struct msgb *msg)
/* RFC6458 3.1.4: Any attempt to send more data will cause sendmsg()
* to return with an ESHUTDOWN error. */
break;
+ case SCTP_REMOTE_ERROR:
+ LOGP(DLINP, LOGL_DEBUG, "===> REMOTE ERROR: %s\n",
+ osmo_sctp_op_error_str(ntohs(notif->sn_remote_error.sre_error)));
+ break;
}
return -EAGAIN;
}