simplified DTLS fd handling and dtls_pull()

This commit is contained in:
Nikos Mavrogiannopoulos
2015-01-11 11:40:22 +01:00
parent a04599afc8
commit c3417f0830
4 changed files with 24 additions and 30 deletions
+1 -1
View File
@@ -1145,7 +1145,7 @@ int main(int argc, char** argv)
ws->config = s->config;
ws->cmd_fd = cmd_fd[1];
ws->tun_fd = -1;
ws->udp_fd = -1;
ws->dtls_tptr.fd = -1;
ws->conn_fd = fd;
ws->conn_type = stype;
ws->creds = &creds;