From ab79b9b593cbde7064a7e4ad49867c36f969cadd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 10 Aug 2011 06:11:39 +0200 Subject: m2ua: Print information about number of SCTP connections It appears that it is possible to have a stale SCTP connection and this added LOGL_NOTICE and the VTY interface might help to identify this situation in the future (the mean time of failure is about five month). --- include/sctp_m2ua.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sctp_m2ua.h b/include/sctp_m2ua.h index 96ee200..ee46a66 100644 --- a/include/sctp_m2ua.h +++ b/include/sctp_m2ua.h @@ -80,4 +80,6 @@ struct mtp_m2ua_link *mtp_m2ua_link_create(struct sctp_m2ua_transport *transport struct mtp_m2ua_link *mtp_m2ua_link_init(struct mtp_link *link); +int sctp_m2ua_conn_count(struct sctp_m2ua_transport *tran); + #endif -- cgit v1.2.3