Skip to content

Commit

Permalink
bug fix. (missing return)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Aug 1, 2014
1 parent a82cfa1 commit 80d9340
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ public void handlePOST(CoapExchange exchange) {
if (securityInfo != null) {
LOG.warn("client {} must connect using DTLS PSK", endpoint);
exchange.respond(ResponseCode.BAD_REQUEST, "Client must connect thru DTLS (port 5684)");
return;
}
}

Expand Down

0 comments on commit 80d9340

Please sign in to comment.