summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-07-27 10:41:04 +0800
committerHarald Welte <laforge@gnumonks.org>2013-07-27 16:00:07 +0800
commit69b5f279a19dfcb452893b86f1febd9e99e39556 (patch)
tree6e98890a9da85ee49a653eaa6fff70a775280663
parent5c9f3b586252b9e6155cb404f9d82d32b35f343b (diff)
sctp_sua: Change number of arguments to xua_asp_fsm:init()
In commit eb61885c358100e0e2d73be96f9f83d96422bc3d the number of arguments to xua_asp_fsm:init() was expanded by one for the pid of the AS FSM. This change alters sctp_sua to adhere to this new list of arguments, enen though it passes 'fixme' in as the pid, as we currently don't yet fully use the xua_as_fsm module yet.
-rw-r--r--src/sctp_sua.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sctp_sua.erl b/src/sctp_sua.erl
index 9b8cc96..c3ec5ef 100644
--- a/src/sctp_sua.erl
+++ b/src/sctp_sua.erl
@@ -56,7 +56,8 @@
init(_InitOpts) ->
% start SUA ASP
Fun = fun(Prim, Args) -> asp_prim_to_user(Prim, Args) end,
- {ok, Asp} = gen_fsm:start_link(xua_asp_fsm, [sua_asp, [], Fun, [self()], self()], [{debug, [trace]}]),
+ AsPid = fixme,
+ {ok, Asp} = gen_fsm:start_link(xua_asp_fsm, [AsPid, sua_asp, [], Fun, [self()], self()], [{debug, [trace]}]),
{ok, #sua_state{asp_pid=Asp}}.
terminate(Reason, _State, _LoopDat) ->