Commit 3ff25d1e authored by Mohammed Ismail's avatar Mohammed Ismail

sctp_event_subscribe size

Signed-off-by: default avatarMohammed Ismail <mohammed.ismail@openairinterface.org>
parent 82ca64fe
...@@ -88,7 +88,7 @@ int sctp_server::create_socket(const char* address, const uint16_t port_num) { ...@@ -88,7 +88,7 @@ int sctp_server::create_socket(const char* address, const uint16_t port_num) {
events_.sctp_association_event = 1; events_.sctp_association_event = 1;
setsockopt( setsockopt(
socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_, socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_,
sizeof(struct sctp_event_subscribe)); 8);
listen(socket_, 5); listen(socket_, 5);
return 0; return 0;
} }
......
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