commit | 23a45c1694fd2313eebf0c7f3f5060c2ea4ecd9e | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu Jan 19 23:09:17 2012 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Thu Jan 19 23:09:17 2012 +0100 |
tree | 8f47825d9be3ac2920f1d8df8b3f0f0fcff8bef2 | |
parent | 7098497b89f5ce113f8c8792b2ed16ab116da6ab [diff] |
sctp_core: Properly handle cant_assoc event from SCTP
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 @@ _ -> NewState = idle end; - SacState == addr_unreachable -> + SacState == addr_unreachable; + SacState == cant_assoc -> case LoopDat#sctp_state.role of active -> NewState = associating,