sccp_routing: make sure route_local_out() returns proper tuple

caught by dialyzer
This commit is contained in:
Harald Welte 2011-11-04 21:55:55 +01:00
parent 4c37da86de
commit 5a8a5a062d
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ route_cr_connless(Mtp3Msg, SccpMsg) when is_record(SccpMsg, sccp_msg) ->
% FIXME: handle translation already performed == yes) case of C.1/Q.714 (1/12)
route_main(SccpMsg),
%LsName = ss7_routes:route_dpc(),
{remote, SccpMsg}.
LsName = undefined,
{remote, SccpMsg, LsName}.
% CR or connectionless message, coming in from MTP