ss7_routes: accept tuple/record point codes
diff --git a/src/ss7_routes.erl b/src/ss7_routes.erl
index 98954c4..6aac951 100644
--- a/src/ss7_routes.erl
+++ b/src/ss7_routes.erl
@@ -78,7 +78,8 @@
 % 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'}],