Skip to content

Commit

Permalink
Follow the usual format as we use this in rabbitmq-coap-pubsub
Browse files Browse the repository at this point in the history
  • Loading branch information
gotthardp committed Dec 18, 2016
1 parent 9301fec commit d99e5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coap_dtls_socket.erl
Expand Up @@ -46,7 +46,7 @@ handle_cast(accept, State = #state{sock=ListenSocket}) ->
% establish the connection
ok = ssl:ssl_accept(Socket),
% FIXME: where do we get the chanel id?
{ok, SupPid, Pid} = coap_channel_sup:start_link(self(), undefined),
{ok, SupPid, Pid} = coap_channel_sup:start_link(self(), {{0,0,0,0}, 0}),
{noreply, State#state{sock=Socket, supid=SupPid, channel=Pid}};
handle_cast(shutdown, State) ->
{stop, normal, State}.
Expand Down

0 comments on commit d99e5c3

Please sign in to comment.