Synchronize with signerl changes regarding SCCP adapter startup
Synchronize with signerl commit
0dde0bd85f940666a90b0839a3d6cb3c94a54575
diff --git a/src/osmo_sccp_tcap.erl b/src/osmo_sccp_tcap.erl
index 8b9201d..e0e2a7d 100644
--- a/src/osmo_sccp_tcap.erl
+++ b/src/osmo_sccp_tcap.erl
@@ -25,7 +25,7 @@
Ourname = list_to_atom("sccp_ssn" ++ integer_to_list(SSN)),
gen_server:start_link({local, Ourname}, ?MODULE, [SSN],[]).
-init([SupRef, SSN]) ->
+init([SSN]) ->
ok = sccp_user:bind_ssn(SSN, undefined),
State = 1,
{ok, State}.
@@ -35,6 +35,7 @@
handle_cast(Request, State) ->
error_logger:error_report(["unknown handle_cast",
+ {module, ?MODULE},
{request, Request}, {state, State}]),
{noreply, State}.
@@ -62,11 +63,12 @@
{noreply, State};
handle_info(Info, State) ->
error_logger:error_report(["unknown handle_info",
+ {module, ?MODULE},
{info, Info}, {state, State}]),
{noreply, State}.
terminate(Reason, State) ->
- io:format("terminating with Reason ~w", [Reason]),
+ io:format("osmo_sccp_tcap terminating with Reason ~w", [Reason]),
ok.
%% @spec (NSAP) -> ok