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) { ...@@ -94,6 +94,7 @@ void UEContextReleaseCompleteMsg::setAmfUeNgapId(unsigned long id) {
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
unsigned long UEContextReleaseCompleteMsg::getAmfUeNgapId() const { unsigned long UEContextReleaseCompleteMsg::getAmfUeNgapId() const {
if (amfUeNgapId) return amfUeNgapId->getAMF_UE_NGAP_ID(); 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) { ...@@ -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_data_io_event = 1;
events_.sctp_shutdown_event = 1; events_.sctp_shutdown_event = 1;
events_.sctp_association_event = 1; events_.sctp_association_event = 1;
setsockopt( setsockopt(socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_, 8);
socket_, IPPROTO_SCTP, SCTP_EVENTS, &events_,
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