Commit 1a9f65c6 authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'sctp-event-size' into 'develop'

sctp_event_subscribe size

See merge request oai/cn5g/oai-cn5g-amf!20
parents d250abf3 3ff25d1e
...@@ -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