summaryrefslogtreecommitdiff
path: root/components/dlink_sms/src/dlink_sms_rpc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'components/dlink_sms/src/dlink_sms_rpc.erl')
-rw-r--r--components/dlink_sms/src/dlink_sms_rpc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dlink_sms/src/dlink_sms_rpc.erl b/components/dlink_sms/src/dlink_sms_rpc.erl
index 78630ae..4bf5f14 100644
--- a/components/dlink_sms/src/dlink_sms_rpc.erl
+++ b/components/dlink_sms/src/dlink_sms_rpc.erl
@@ -661,7 +661,7 @@ connection_authorized(FromPid, {RemoteAddr, 0} = Conn, CompSpec) ->
%% that just authorized to us.
[ok, LocalServices] = service_discovery_rpc:get_services_by_module(CompSpec, local),
- [ok, FilteredServices] = authorize_rpc:filter_by_destination(
+ [ok, FilteredServices] = authorize_rpc:filter_by_service(
CompSpec, LocalServices, Conn),
%% Send an authorize back to the remote node