m3ua_core: handle shutdown_comp SCTP evnt

This commit is contained in:
Harald Welte 2013-06-18 18:04:18 +02:00
parent d49aa21366
commit a0d2d96566
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ handle_info({sctp, Socket, _RemoteIp, _RemotePort, {ANC, SAC}},
comm_lost ->
send_prim_to_user(LoopDat, osmo_util:make_prim('M','SCTP_RELEASE',indication)),
LoopDat2 = reconnect_sctp(LoopDat);
shutdown_comp ->
send_prim_to_user(LoopDat, osmo_util:make_prim('M','SCTP_RELEASE',indication)),
LoopDat2 = reconnect_sctp(LoopDat);
addr_unreachable ->
LoopDat2 = reconnect_sctp(LoopDat)
end,