ss7_routes: accept tuple/record point codes
This commit is contained in:
parent
eecba25038
commit
19350ad9d4
|
@ -78,7 +78,8 @@ delete_route(RemotePc, RemoteMask, LinksetName) ->
|
|||
% the lookup functions can directly use the ets named_table from within
|
||||
% the client process, no need to go through a synchronous IPC
|
||||
|
||||
route_dpc(Dpc) ->
|
||||
route_dpc(DpcIn) ->
|
||||
Dpc = osmo_util:pointcode2int(DpcIn),
|
||||
% this was generated by ets:fun2ms() on the shell
|
||||
Match = [{#ss7route{remote_pc_mask={'$1','$2'},linkset_name='$3'},
|
||||
[{'==',{'band',Dpc,'$2'},'$1'}],
|
||||
|
|
Loading…
Reference in New Issue