From 5a8a5a062d0f7be130220eca11c4fcfb2e7b8f72 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 4 Nov 2011 21:55:55 +0100 Subject: [PATCH] sccp_routing: make sure route_local_out() returns proper tuple caught by dialyzer --- src/sccp_routing.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sccp_routing.erl b/src/sccp_routing.erl index eda4072..1d66182 100644 --- a/src/sccp_routing.erl +++ b/src/sccp_routing.erl @@ -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