diff --git a/kernel/netio.c b/kernel/netio.c index 96ee53aa..35a707e3 100644 --- a/kernel/netio.c +++ b/kernel/netio.c @@ -344,7 +344,8 @@ netio_accept(void *arg, struct tcp_pcb *pcb, err_t err) } #endif - ns->buf_ptr[0] = 0; + memset(ns->buf_ptr, 0x00, NETIO_BUF_SIZE); + //ns->buf_ptr[0] = 0; tcp_arg(pcb, ns); tcp_sent(pcb, netio_sent);