diff options
Diffstat (limited to 'components/dlink_bt/src/dlink_bt_rpc.erl')
-rw-r--r-- | components/dlink_bt/src/dlink_bt_rpc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dlink_bt/src/dlink_bt_rpc.erl b/components/dlink_bt/src/dlink_bt_rpc.erl index aba5f3b..c36c997 100644 --- a/components/dlink_bt/src/dlink_bt_rpc.erl +++ b/components/dlink_bt/src/dlink_bt_rpc.erl @@ -698,7 +698,7 @@ connection_authorized(FromPid, {RemoteAddress, RemoteChannel} = 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 |