routing: accept non-integer point codes in is_local_pointcode()
This commit is contained in:
parent
c6bfb3be69
commit
b80119cd3e
|
@ -26,8 +26,9 @@
|
||||||
|
|
||||||
-export([route_mtp3_sccp_in/1, route_local_out/1, select_opc/2]).
|
-export([route_mtp3_sccp_in/1, route_local_out/1, select_opc/2]).
|
||||||
|
|
||||||
pointcode_is_local(Pc) when is_integer(Pc) ->
|
pointcode_is_local(Pc) ->
|
||||||
ss7_links:is_pc_local(Pc).
|
PcInt = osmo_util:pointcode2int(Pc),
|
||||||
|
ss7_links:is_pc_local(PcInt).
|
||||||
|
|
||||||
% local helper function
|
% local helper function
|
||||||
msg_return_or_cr_refusal(SccpMsg, RetCause, RefCause) ->
|
msg_return_or_cr_refusal(SccpMsg, RetCause, RefCause) ->
|
||||||
|
|
Loading…
Reference in New Issue