Commit 415a6342 authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'test-new-ds-tester-fwk' into 'develop'

CLANG-FORMAT: last missing file

See merge request oai/cn5g/oai-cn5g-amf!24
parents 9656dbb1 2751dc40
......@@ -94,6 +94,7 @@ void UEContextReleaseCompleteMsg::setAmfUeNgapId(unsigned long id) {
//------------------------------------------------------------------------------
unsigned long UEContextReleaseCompleteMsg::getAmfUeNgapId() const {
if (amfUeNgapId) return amfUeNgapId->getAMF_UE_NGAP_ID();
return (unsigned long) 0;
}
//------------------------------------------------------------------------------
......
......@@ -85,9 +85,7 @@ int sctp_server::create_socket(const char* address, const uint16_t port_num) {
events_.sctp_data_io_event = 1;
events_.sctp_shutdown_event = 1;
events_.sctp_association_event = 1;
setsockopt(
socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_,
8);
setsockopt(socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_, 8);
listen(socket_, 5);
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