Browse Source

segfault fix for DTLS protocol errors

pull/11/head
Richard Fuchs 12 years ago
parent
commit
062256baec
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      daemon/dtls.c

+ 1
- 2
daemon/dtls.c View File

@ -602,8 +602,7 @@ int dtls(struct packet_stream *ps, const str *s, struct sockaddr_in6 *fsin) {
if (ps->sfd)
ilog(LOG_ERROR, "DTLS error on local port %hu", ps->sfd->fd.localport);
/* fatal error */
d->init = 0;
/* XXX ?? */
dtls_connection_cleanup(d);
return 0;
}
else if (ret == 1) {


Loading…
Cancel
Save