sctp_sua: Change number of arguments to xua_asp_fsm:init()

In commit eb61885c35 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.
This commit is contained in:
Harald Welte 2013-07-27 10:41:04 +08:00
parent 5c9f3b5862
commit 69b5f279a1
1 changed files with 2 additions and 1 deletions

View File

@ -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) ->