diff options
-rw-r--r-- | accel-pptpd/ctrl/pptp/pptp.c | 2 | ||||
-rw-r--r-- | accel-pptpd/triton/triton.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/ctrl/pptp/pptp.c b/accel-pptpd/ctrl/pptp/pptp.c index c1513a0..0b92474 100644 --- a/accel-pptpd/ctrl/pptp/pptp.c +++ b/accel-pptpd/ctrl/pptp/pptp.c @@ -277,6 +277,7 @@ static int pptp_out_call_rqst(struct pptp_conn_t *conn) return 0; } + memset(&src_addr, 0, sizeof(src_addr)); src_addr.sa_family = AF_PPPOX; src_addr.sa_protocol = PX_PROTO_PPTP; src_addr.sa_addr.pptp.call_id = 0; @@ -284,6 +285,7 @@ static int pptp_out_call_rqst(struct pptp_conn_t *conn) getsockname(conn->hnd.fd, (struct sockaddr*)&addr, &addrlen); src_addr.sa_addr.pptp.sin_addr = addr.sin_addr; + memset(&dst_addr, 0, sizeof(dst_addr)); dst_addr.sa_family = AF_PPPOX; dst_addr.sa_protocol = PX_PROTO_PPTP; dst_addr.sa_addr.pptp.call_id = htons(msg->call_id); diff --git a/accel-pptpd/triton/triton.c b/accel-pptpd/triton/triton.c index 01c6128..1a2cd2b 100644 --- a/accel-pptpd/triton/triton.c +++ b/accel-pptpd/triton/triton.c @@ -8,8 +8,6 @@ #include "triton_p.h" #include "memdebug.h" -#include <valgrind/drd.h> - int thread_count = 2; int max_events = 64; |