diff --git a/openair2/UTIL/ASYNC_IF/socket_link.c b/openair2/UTIL/ASYNC_IF/socket_link.c index a1e6b717edfd6b2e8f2a03521c67d54143b30e7f..633240026d131e4523995c02cbac6814d06d7cf5 100644 --- a/openair2/UTIL/ASYNC_IF/socket_link.c +++ b/openair2/UTIL/ASYNC_IF/socket_link.c @@ -53,6 +53,7 @@ socket_link_t *new_link_server(int port) int no_delay; + memset(&addr,0,sizeof(struct sockaddr_in)); ret = calloc(1, sizeof(socket_link_t)); if (ret == NULL) { LOG_E(MAC, "%s:%d: out of memory\n", __FILE__, __LINE__);