summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-19 23:09:17 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-19 23:09:17 +0100
commit23a45c1694fd2313eebf0c7f3f5060c2ea4ecd9e (patch)
tree8f47825d9be3ac2920f1d8df8b3f0f0fcff8bef2 /src
parent7098497b89f5ce113f8c8792b2ed16ab116da6ab (diff)
sctp_core: Properly handle cant_assoc event from SCTP
Diffstat (limited to 'src')
-rw-r--r--src/sctp_core.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sctp_core.erl b/src/sctp_core.erl
index 2cd8b95..46b1d0d 100644
--- a/src/sctp_core.erl
+++ b/src/sctp_core.erl
@@ -183,7 +183,8 @@ handle_info({sctp, Socket, _RemoteIp, _RemotePort, {ANC, SAC}},
_ ->
NewState = idle
end;
- SacState == addr_unreachable ->
+ SacState == addr_unreachable;
+ SacState == cant_assoc ->
case LoopDat#sctp_state.role of
active ->
NewState = associating,