common in networking code. Silences a Coverity defect.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23916
dc483132-0cff-0310-8789-
dd5450dbe970
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
+#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
(void) setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one,
sizeof (one));
+ memset(&l_inaddr, 0, sizeof(l_inaddr));
l_inaddr.sin_family = AF_INET;
l_inaddr.sin_addr.s_addr = 0;
l_inaddr.sin_port = port;